-
Notifications
You must be signed in to change notification settings - Fork 3
How to set up Heroku and Github access
Add your ssh keys to Github and Heroku, then run:
git clone [email protected]:newice.git -o heroku
Next, run:
git remote set-url origin [email protected]:maximz/newice.git
git pull
(pulls from Github)
-
git push
orgit push origin master
(pushes to Github) -
git push heroku master
(pushes to Heroku and deploys)
The timeline lives in a separate publicly-visible repository. Navigate to http://github.com/nicetigers/timeline, then click index.html and the Edit button to edit it.
The live URL is: http://nicetigers.github.io/timeline/
(Note that this is a Git repository, so you can clone it and edit index.html locally, then push it back up to Github. Make sure to edit on the gh-pages branch!)
After installing the Heroku toolkit, run:
-
heroku ps:scale web=1
(sets it to 1 dyno, which is what we want) -
heroku ps
(to see status) -
heroku open
to view in browser
See https://devcenter.heroku.com/articles/getting-started-with-django#syncing-the-database
This is the guide I followed to set up the blank Django app.