Welcome to COSCS594. In this class, we will be using a variety of tools that will require some initial configuration. To ensure everything goes smoothly moving forward, we will setup the majority of those tools in this homework. Some of this will likely be tedious, but doing it now will help be more productive in the exciting work during the rest of the course. This homework will not be graded, however it is essential that you complete it timely since it will enable us to set up your accounts.
===========
-
To start, fork repository fdac/Homework0
-
Connect to your virtual machine
- if using ssh consider creating the following entry in ~/.ssh/config
host da user cosc hostname 192.168.56.2 LocalForward 8888 127.0.0.1:8888then simply ssh da
- If using putty, don't forget to save session information so you can load it and connect next time
-
Clone the repository to your virtual machine
If you have not set these up, please do (replace USERNAME with your own):
git config --global user.name USERNAME git config --global user.email USERNAME@users.noreply.github.com
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 (vi is set by default)
git config --global core.editor nano git clone https://USERNAME@github.com/USERNAME/Homework0
You will be asked to enter your github username and password
- Username for 'https://github.com':
- Password for 'https://USERNAME@github.com':
-
Then run
ipython notebook --no-browser -
Point your browser (on your laptop or, optionally, on your virtual machine) to http://localhost:8888
-
Edit/Run the example in the browser to complete the assignment
-
On the virtual machine commit changes to complete your solution.
(you may need to press <ctrl-C> to kill ipython notebook that was running)
cd ~/Homework0 git add --all git commitNow you will get from shell into editor:
- if vi: type: i your commit comment <ESC> ZZ
- if nano: your commit comment <ctrl-X> Y (to save changes) to confirm the file name
Now back in the shell
-
Push/sync the changes to GitHub.
git push -
At https://github.com/USERNAME/Homework0 Create a pull request on the original repository fdac/Homework0 to turn in the assignment.