Skip to content

Commit

Permalink
Merge pull request #284 from doriczapari/master
Browse files Browse the repository at this point in the history
Activate virtualenv after command prompt restart
  • Loading branch information
aniav committed Mar 27, 2015
2 parents 9aeec5b + a0f48f7 commit 8f3ada8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions en/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ You need to install your Heroku toolbelt which you can find here (you can skip t
> On Windows you also must run the following command to add Git and SSH to your command prompt's `PATH`: `setx PATH "%PATH%;C:\Program Files\Git\bin"`. Restart the command prompt program afterwards to enable the change.
> After restarting your command prompt, don't forget to go to your `djangogirls` folder again and activate your virtualenv! (Hint: `myvenv\Scripts\activate`)
Please also create a free Heroku account here: https://id.heroku.com/signup/www-home-top

Then authenticate your Heroku account on your computer by running this command:
Expand Down Expand Up @@ -211,6 +213,8 @@ The error you saw was because we when we deployed to Heroku, we created a new da
$ heroku run python manage.py migrate

$ heroku run python manage.py createsuperuser

The command prompt will ask you to choose a username and a password again. These will be your login details on your live website's admin page. Refresh it in your browser, and you're good to go!

You should now be able to see your website in a browser! Congrats :)!

Expand Down

0 comments on commit 8f3ada8

Please sign in to comment.