4đź‘Ť
Well, first let me say congrats. I think this is a pretty cool first project and I’m sure you learned a ton along the way.
Your question is really something like “how do I maintain a production application”. I think if you do some googling around that (with django tacked on the end) you will get a ton of great answers.
More specifically, your asking about deployment.
In this case, you want to only make your changes on your laptop. Test them locally, and then commit them to github.
From your box, once you ssh into it, just do a git pull and restart your webserver.
That said, you might want to look at a python package called “fabric” http://fabric.readthedocs.org/en/1.3.3/index.html to manage deployments and maintenance.
Learning fabric can be a valuable addition to your toolset as well.
Also, it’s ok for your server to be behind or on a different branch then development as you work out new features. But, you really don’t want your server ahead. You should commit any changes you’ve made to github from your server and then pull them back down to your local so everyone is in sync.
2đź‘Ť
Congrats on your first project for sure and great choice on tools to use 🙂
You will find this blog series useful to help you use fabric to deploy (especially part 5):
Also you may want to have a look at this as also a nice resource:
http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/
- [Django]-Comparison between django-admin-tools and django-grappelli
- [Django]-Haystack Faceted: __init__() got an unexpected keyword argument 'facet_fields'
- [Django]-How to reload Django models without losing my locals in an interactive session?
- [Django]-How should error corresponding to an AJAX request be passed to and handled at the client-side?
- [Django]-Site name appearing in django URLs