Over a million developers have joined DZone.

Installing DjangoCMS on Heroku in 13 Easy Steps

DZone's Guide to

Installing DjangoCMS on Heroku in 13 Easy Steps

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

Do you want to use Django-cms on Heroku but don't know where to start? All you need to do is follow these 13 easy steps, and they will get you on your way.

  1. Create a place to store your project
    $ mkdir -p ~/projects
  2. Go into the projects directory
    $ cd ~/projects
  3. Clone git repo from github, requires git client.
    $ git clone git://github.com/kencochrane/django-cms-heroku.git
  4. Go into the new project directory
    $ cd django-cms-heroku
  5. Creating the virtualenv (using virtualenvwrapper, virtualenv, and pip)
    $ mkvirtualenv --no-site-packages --distribute django-cms-heroku
  6. Sign-Up for a Heroku account. https://api.heroku.com/signup

  7. Install the Heroku client. http://devcenter.heroku.com/articles/quickstart

  8. The first time you use the Heroku client you will need to login using the same information you used when you signed up. Follow the prompts, and it will finish your install.
    $ heroku login
  9. Create your heroku application
    $ heroku create --stack cedar
  10. Push your code into heroku
    $ git push heroku master
  11. Sync your database and create your admin account.
    $ heroku run python mycms/manage.py syncdb --all
  12. Run your database migrations.
    $ heroku run python mycms/manage.py migrate --fake
  13. Open application in your browser and start using djangoCMS on heroku.
    $ heroku open

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 git push command again.

For more info about Heroku and django-cms and what you can do with with it. check out their docs


Source: http://kencochrane.net/blog/2011/12/installing-djangocms-on-heroku-in-13-easy-steps/


Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}