...
Clone the git repo.
Code Block git clone https://<project access token>@<gitlab repo address>
For example,
Code Block git clone https://glpat-xYzCB3sMjfFYz5Q6hyH2@git.uwaterloo.ca/d24lau/ece-li-scheduling.git
You will be prompted to enter a password. Enter the project access token as the password.
Configure git
Go into the project folder that was created when the repo was cloned.
Set the
user.email
anduser.name
git parameters.Code Block git config --global user.email "you@example.com" git config --global user.name "Your Name"
Initialize the project
Go into the project folder that was created when the repo was cloned.
Start the project. Be sure to enter the
.
at the end of the command line in order to create the project in the current folder. Otherwise, django will create a subfolder with the project name and place it one level down.Code Block django-admin startproject <project name> .
...