Anonymous user
Boston Python Workshop/Saturday/Web app project: Difference between revisions
Boston Python Workshop/Saturday/Web app project (view source)
Revision as of 15:57, 5 March 2011
, 13 years ago→Part 3.5: Deploy again!
imported>Paulproteus |
imported>Paulproteus |
||
Line 749:
Does it work?! If so, show your neighbor!
== Part
You've done a lot of work. It's time to share it with the world.
This workshop follows a workflow very similar to what I personally use in my professional Django projects: using ''git'' to store the history of my project on my computer, and using that to synchronize with a web server other people can see.
You've already pushed some work to Github. To get our changes over to alwaysdata. you'll:
# Add and commit files on your own computer.
# Push your changes to Github.
# Connect to your alwaysdata.com account via SSH/PuTTY
# Run "git pull" to get the latest version to your Alwaysdata account.
So we'll do those steps in order.
To do the ''add and commit'', open up your Terminal or GitBash:
git add .
git commit -m "More changes"
To push:
git push
Now, open up SSH or PuTTY and connect to your alwaysdata.com account.
Finally, in '''that''' terminal:
cd workshop_mysite
git pull
Okay, not quite finally. You might need to go to https://admin.alwaysdata.com/advanced/processes/ and click ''Restart my applications''.
Go to your alwaysdata site's /admin/ page. For me, I'd go to:
* http://paulproteus.alwaysdata.com/admin/
== Part 4: Editing your polls in the Django admin interface ==
|