Project Repository Setup
Each group will need a repository on our GitLab server. (For group work, one group member should create a repository and do the basic setup.)
One group member will need to start as instructed in GitLab:
mkdir our-awesome-project
cd our-awesome-project
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@csil-git1.cs.surrey.sfu.ca:group_or_userid/our-awesome-project.git
git push -u origin master
Project Template: Vagrant version
Then integrate some template code provided for Vagrant + VirtualBox deployments:
git remote add template git@csil-git1.cs.surrey.sfu.ca:ggbaker/470-project-template.git
git fetch template
git merge template/master --allow-unrelated-histories
git push
These commands will merge in the template code I have provided, but you can then can modify in your repository as necessary.
After that, have a look at the Vagrant instructions.
Project Template: Docker version
Then integrate some template code provided for Docker Compose deployments:
git remote add template git@csil-git1.cs.surrey.sfu.ca:ggbaker/470-docker-template.git
git fetch template
git merge template/master --allow-unrelated-histories
git push
These commands will merge in the template code I have provided, but you can then can modify in your repository as necessary.
After that, have a look at the Docker instructions.
After Setup
Other group members can simply clone the repository and get started:
git clone git@csil-git1.cs.surrey.sfu.ca:yourgroup/our-awesome-project.git