This git repository helps you get up and running quickly w/ a Django CMS installation on ActiveState Stackato. The Django project name used in this repo is 'mycms' but you can feel free to change it. Right now the backend is mysql.
Go to http://community.activestate.com/stackato and register
There are a few different options, follow the steps outlined here. http://docs.stackato.com/quick-start.html#stackato-client-setup
$ stackato target api.sandbox.activestate.com
> Successfully targeted to [https://api.sandbox.activestate.com]
$ stackato login
> Successfully logged into [https://api.sandbox.activestate.com]
$ cd ~/projects
$ git clone git://github.com/kencochrane/django-cms-stackato.git
$ cd django-cms-stackato
$ stackato push myblog
Should happen automatically at deployment see stackato.yml file for more details.
$ stackato run myblog python mycms/manage.py syncdb --noinput
Should happen automatically at deployment see stackato.yml file for more details. I had to run more then once since it was killed the first time. Maybe it took too long?
$ stackato run myblog python mycms/manage.py migrate --noinput
Should happen automatically at deployment see stackato.yml file for more details.
$ stackato run myblog python mycms/manage.py collectstatic --noinput
Make sure you replace the variables with your values.
$ stackato run myblog python mycms/manage.py createsuperuser --username=admin --email=admin@example.com --noinput
Pick a more secure password then the example I have here. (notice it is changepassword2 not changepassword)
$ stackato run myblog python mycms/manage.py changepassword2 admin secret123P@ssw0rd!
When you open up the URL that you picked when you deployed in your browser you should find the DjangoCMS pony welcome page. If not, try debugging using some of the tips below.
$ stackato start myblog
$ stackato restart myblog
$ stackato stop myblog
$ stackato update myblog
$ stackato stats myblog
$ stackato apps
$ stackato files myblog logs
$ stackato logs myblog --all
$ stackato run myblog cat ../logs/myapp-err.log
- My Blog post describing these steps in more detail: http://kencochrane.net/blog/2012/01/getting-djangocms-up-and-running-on-stackato/
- Stackato Client command reference: http://docs.stackato.com/commands.html#command-ref-client
- stackato.yml reference: http://docs.stackato.com/client.html#configure-stackato-yml
- Stackato quick start guide: http://docs.stackato.com/quick-start.html
- Stackato Sandbox Ground Rules, Content Policy and Quotas: http://docs.stackato.com/sandbox.html
- ActiveState Account page: https://account.activestate.com/
- pip : http://www.pip-installer.org/
- git : http://git-scm.com/
- My Experiences with ep.io
- AppHosted.com Django Hosting Service Review
- My Day in Gondor.io
- Deploying my Django application to DotCloud.com
- DjangoZoom.com Review
- Django hosting roundup
- Installing DjangoCMS on Heroku in 13 easy steps
- Installing DjangoCMS on dotCloud in 12 easy steps
- Developers guide to Running Django Applications on Heroku
- Installing a Django application on Red Hat's OpenShift PAAS