Note: This document is a work in progress. You can help improve it.
Turning In Assignments
Note: You should complete at least the tasks given for explorer mode as listed in the assignment before turning it in, as well as before attempting adventure or epic modes.
Your homework will be assigned to you via
issues on your
assignments repository. These steps will be followed for
almost every assignment going forward. Once you've completed at least explorer mode and you're satisfied with your
work, let's get it published. First let's get it up on GitHub.
NOTE All the following commands are run from your terminal and inside the project directory. You will need
cd into the directory where your project exists.
Add all our work to git, and commit it:
git add . git commit -m "Done with explorer mode"
Please replace "Hello, world." with a more meaningful message. It should try to capture what work you did.
Push our local commits to GitHub:
git push -u origin master
-u option tells git we want to making pushing the
master branch to
origin the default, so next time, we can
Now that our source code is up on GitHub, let's publish our page. A command to do this has already been setup for you:
npm run deploy
This command will deploy your website to a hosting platform called Surge. The first time you run it, follow the prompts to set up your account.
Once you are done, go to the issue on our
assignments repository in your web browser. As a comment, leave a link
to the repository of your project, and close the issue. To get the link to your repository,
hub browse will open github.com
with your repository URL loaded. Your instructors will not know you are done until you've closed the issue.