- Make sure you are connected to internet
- This repo uses
make
to automate build. Make sure to install it. [For Debian(Ubuntu), apt-get install make] - 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
- Extract the downloaded zip to
- To clone this repo:
- Navigate to the directory
cd intragit
- 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
- Install virtualenv using
- Prepare the environment
make prepare-dev
- When prompted for a password enter
this
- When prompted for a password enter
- Run the server
make run-server
- When prompted for a password enter
this
- When prompted for a password enter
- Now open a different terminal , navigate into the folder
intragit
and runmake run-client
to run the client - Now your can use the client for different tasks.
- 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'
-
- 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
-
-
Notifications
You must be signed in to change notification settings - Fork 1
A SaaS secure VCS (based on Git) for confidential repositories
License
AshirwadPradhan/intragit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A SaaS secure VCS (based on Git) for confidential repositories
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published