Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate virtualenv after command prompt restart #284

Merged
merged 3 commits into from
Mar 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should link to the relevant part of the tutorial here.

The problem is that the activate syntax is different between windows and linx/mac.


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