Welcome to CS445/545. In this class, we will be using a variety of tools that will require some initial configuration.
===========
-
To start, fork repository fdac18/Practice0
-
You should be able to connect to your container via ssh (putty)
-
Connect to your docker container (this opens up a terminal with a commmand-line)
-
Clone the repository to your docker container If you have not set these up, please do (replace USERNAME with your own github username):
git config --global user.name USERNAME git config --global user.email 'whatever email you are willing to share'
-
You may also want to set up your credentials to be cashed (in seconds: 3600=1hour)
git config credential.helper 'cache --timeout=3600'
-
Set up your default editor if you don't like vi (vi is set by default)
git config --global core.editor nano
-
Now clone
git clone https://USERNAME@github.com/USERNAME/Practice0
-
You will be asked to enter your github username and password
- Username for 'https://github.com':
- Password for 'https://USERNAME@github.com':
-
Hint: to avoid typing GitHub passwords you can add the following to your .ssh/config on the host where you run git commands:
host github User USERNANE HostName github.com IdentitiesOnly yes IdentityFile ~/.ssh/id_rsa
Then the git clone will look like:
git clone git@github:USERNAME/Practice0
You will also need to put your public key on github as described in step 4 of instructions -
Please change the name of the notebook from Practice0 to your NETID handle, so I can merge it in the central repository once you submit your pull request. on command line 'mv Practice0.ipynb YourNetID.ipynb'
-
Point your browser to http://localhost:8888
-
Edit/Run the example in the browser and do requested tasks to complete the assignment
-
On the docker container commit changes to complete your solution.
cd ~/Practice0 git add YourNetID.ipynb git commit -m '<your commit comment>'
-
Now back in the shell Push/sync the changes to github.
git push origin master
-
At https://github.com/USERNAME/Practice0 Create a pull request on the original repository fdac18/Practice0 to turn in the assignment.