DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > Installing DjangoCMS on dotCLoud in 12 Easy Steps

Installing DjangoCMS on dotCLoud in 12 Easy Steps

Ken Cochrane user avatar by
Ken Cochrane
·
Feb. 12, 12 · Web Dev Zone · Interview
Like (0)
Save
Tweet
4.14K Views

Join the DZone community and get the full member experience.

Join For Free

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.

  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-dotcloud.git
    
  4. Go into the new project directory
        $ cd django-cms-dotcloud
    
  5. Creating the virtualenv (using virtualenvwrapper, virtualenv, and pip)
        $ mkvirtualenv --no-site-packages --distribute django-cms-dotcloud
    
  6. Installing the dotCloud client http://docs.dotcloud.com/firststeps/install/ (here are the steps for Linux and Mac OSX)
        $ sudo pip install -U dotcloud
    
  7. Sign up for a doCloud account https://www.dotcloud.com/accounts/register/ if you haven't already.
  8. 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
    $ dotcloud

  9. Create your dotCloud application
        $ dotcloud create mycmsapp
    
  10. Push your code into dotCloud
    $ dotcloud push mycmsapp
  11. Find your application URL
        $ dotcloud url mycmsapp
    
  12. Open the URL in your browser and start using DjagoCMS on dotCloud
  13. 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

  • http://docs.dotcloud.com/firststeps/platform-overview/
  • https://www.django-cms.org/en/documentation/

Links:

  • 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/



Source: http://kencochrane.net/blog/2011/12/installing-djangocms-dotcloud-12-easy-steps/

Git application Directory GitHub API Template Debug (command) Testing

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Design Patterns for Microservices
  • What Is Kafka? Everything You Need to Know
  • Low Code and No Code: The Security Challenge
  • 10 Programming Habits a Web Developer Should Embrace

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo