Creating the project
First, let's create a Git repository that will hold our web shop project. Make sure your VM is running and browse to GitLab. It does not really matter if you create the project under your local account or in a group; you can always change that later. I have called the repository web-shop
, but you can really name it anything you like. If you go for another name, make sure to change the name of the repository in all upcoming code snippets.
Now that you have a repository, you can clone it to your development machine. We have done this before, so that should not be a problem. I have chosen to clone the repository to my desktop for quick access, but I would recommend cloning it to C:\Repositories
or your Documents(\Repositories)
folder, some place where you keep your Git repositories:
cd your-folder
git clone http://ciserver/youruser/web-shop.git
cd web-shop
Make sure to replace youruser
with your username and web- shop
with the name of your repository if you picked another...