This GitHub repository contains instructions, examples, data, and software utilities to help you in Track 2: Data Science and the Seven Seas. If you are not familiar with git
version control follow these instruction on any mac, or linux machine. On Windows it is very similar after you install the git client. Note: user$
indicates the terminal prompt, not something you should type.
- Contestants will create a Fork of the base repo and develop their solutions over the course of HACKtheMACHINE. When you are ready to submit your answers create a pull request to the master branch of this repo.
- Set up by logging into your github account (create one here if you need to). Once logged in, click the fork button in the top right corner of the repo homepage.
- Forking the repo will create a copy of the repo in your own account, but the files are still in the cloud and you need to get them onto your own machine.
- So clone your fork onto your local machine. Open a command line terminal window and enter this command:
user$ git clone https://github.com/<your username>/Seattle_Track_2.git
- This will create a folder on your local machine called
/Seattle_Track_2
. Consider starting byuser$ cd Seattle_Track_2/Data
and then runninguser$ ./get_data.sh
to download your own copy of the base datasets.
TODO...add some content here.
- All of the changes you make on your cloned fork are local to your laptop. You will need to push your local changes to your cloud GitHub account to submit it for evaluation. Please ask a mentor or a teammate if you need help. Also,
user$ git help
is pretty good, but issuing these commands inside the/Seattle_Track_2
folder will work in most use cases.
user$ git add --all
user$ git commit -m "Commit my Track2 solution"
user$ git push
- The step above pushes your code to your own GitHub account, and this is a great way to share ideas among your own team, but you will create a pull reqeust to master branch of this repo to submit. Follow the steps here to create a pull request: https://help.github.com/articles/creating-a-pull-request-from-a-fork/