Do you want to use Django-cms on dotcloud but don't know where to start? All you need to do is follow these 12 easy steps, they will get you on your way.
- Create a place to store your project
$ mkdir -p ~/projects
- Go into the projects directory
$ cd ~/projects
- Clone git repo from github, requires git client.
$ git clone git://github.com/kencochrane/django-cms-dotcloud.git
- Go into the new project directory
$ cd django-cms-dotcloud
- Creating the virtualenv (using virtualenvwrapper, virtualenv, and pip)
$ mkvirtualenv --no-site-packages --distribute django-cms-dotcloud
- Installing the dotCloud client http://docs.dotcloud.com/firststeps/install/ (here are the steps for Linux and Mac OSX)
$ sudo pip install -U dotcloud
- Sign up for a doCloud account https://www.dotcloud.com/accounts/register/ if you haven't already.
- The first time you use the dotCloud account you will need to add your API key. So type dotCloud and follow the steps. You can find your API key at http://www.dotcloud.com/account/settings
- Create your dotCloud application
$ dotcloud create mycmsapp
- Push your code into dotCloud
$ dotcloud push mycmsapp
- Find your application URL
$ dotcloud url mycmsapp
- Open the URL in your browser and start using DjagoCMS on dotCloud
- Optional: If you don't like the URL they gave you, you can use your custom domain. Assuming your applciation was ramen.www and you domian was www.example.com you would do the following:
$ dotcloud alias add ramen.www www.example.com
Once you get comfortable with how things work, you could add more plug-ins, create your own custom templates and then change your DEBUG setting to False. So go ahead fork my project on github and get started.
After you make changes to your local project directory, you can test it on the server by running the dotcloud push command again.
For more info about dotcloud and django-cms and what you can do with with it. check out their docs
- dotcloud : http://dotcloud.com
- Virtualenv : http://pypi.python.org/pypi/virtualenv
- pip : http://www.pip-installer.org/
- virtualenvwrapper : http://www.doughellmann.com/projects/virtualenvwrapper/
- git : http://git-scm.com/