Giter Club home page Giter Club logo

intragit's Introduction

IntraGIT

A SaaS secure VCS (based on Git) for confidential repositories.

How to setup this service:


  1. Make sure you are connected to internet
  2. This repo uses make to automate build. Make sure to install it. [For Debian(Ubuntu), apt-get install make]
  3. Clone this repo or download it.
    • To clone this repo: git clone https://github.com/AshirwadPradhan/intragit
    • To download the zip: Download
      • Extract the downloaded zip to intragit
  4. Navigate to the directory cd intragit
  5. Activate virtualenv
    • Install virtualenv using pip3 install virtualenv. (replace pip3 with pip if using windows)
    • Make a virtual env. virtualenv env
    • Activate the virtual env. source env/bin/activate
  6. Prepare the environment make prepare-dev
    • When prompted for a password enter this
  7. Run the server make run-server
    • When prompted for a password enter this
  8. Now open a different terminal , navigate into the folder intragit and run make run-client to run the client
  9. Now your can use the client for different tasks.
  10. Example 1. Register a user, login and create a repo.
    • register user It will prompt for a password enter your desired password.

    • login user Enter the password when asked for

    • creater a To create a repo with name 'a'

    • logout user To logout of that account

    • adduser user,a To add a authorized user 'user' to repo named 'a'

    • remuser user,a To remove a authorized user 'user' from a repo named 'a'

  11. Example 2. Pushing and Pulling from a remote repo.
    • The folder dbtest is the remote repository container and dbctest is the local repository container

    • All the repo like 'a' created in the previous example is stored in human readble form in dbctest while data in dbtest is stored encrypted

    • Make changes to the local repo in dbctest to push the changes to remote repo in dbtest

    • To get any new changes from remote repo in dbtest pull the changes to local repo in dbctest

    • pushr a Push local changes of repo 'a' to remote

    • pullr a Pull remote changes of repo 'a' to local

Note :- Add CA's public key to Trusted Root Certificates if you face any 'Invalid CA certificate' issue (required for Microsoft Windows 10)

intragit's People

Contributors

ashirwadpradhan avatar detailfreak avatar

Watchers

 avatar  avatar  avatar

Forkers

detailfreak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.