The project has been set up for Java and Gitlab CI. You will find all documentation in the docs folder and the source code in src. The Java JUnit test will be automatically run when you commit to Gitlab.
This repository will be used for the next couple of labs.
To create a fork of this repository, click on the fork button on the original repository at https://gitlab.cs.wallawalla.edu/cptr354/lab_interpreter. Copy the URL of your forked repository by clicking the clipboard icon next to it. The URL should look something like:
git@gitlab.cs.wallawalla.edu:YourUsername/lab_interpreter.git
Once you have forked the repository, you must set its visibilty level to private so that only you can see it. To do this,
- Click on the gear icon at the top right of the project page in GitLab.
- Select Edit Project from the drop-down menu.
- Set the Visibility Level to Private in the Project settings box.
- Scroll down until you find the green Save changes button and click it.
Create your local workspace by cloning the repository to your machine. Put the repository in a place will remember. You can clone the repository by using a command similar to this:
git clone git@gitlab.cs.wallawalla.edu:YourUsername/lab_interpreter.git
If you are asked to enter a password, you need to set up your ssh key.
ssh-keygen
more ~/.ssh/id_rsa.pub
Copy the generated public key in to GitLab under your profile ssh keys
Finally, to make sure that you can receive updates easily (see below), type the following commands in the command window at the bottom of the Cloud 9 screen.
git remote add upstream git@gitlab.cs.wallawalla.edu:cptr354/lab_interpreter.git
Every time you commit code and push it to gitlab, the test will be automatically executed. You can find the results by look at the CI/CD menu option. It will list the recent jobs executed and show there status. You can find the details of each job by clicking on them.