Push Our Code to Github
Github.com allows us to host our Django project code on their website for safekeeping and backup.
When to use
You should always use github to backup your code.
Sign up for a free github account.
Log in, go to settings, then go to SSH and GPG keys. Click "Add Key" to add your key.
To get your ssh key, from your terminal use this command:
Copy the key and paste it into github.com
Next, click on repositories and Create a new Repository. Grab the two commands that github gives you and enter them (one at a time) into your terminal.
Hints & tips
- Don't forget to add your ssh key to github.com!
Lesson notes are only available for subscribers.