Divio App Required

In this document we'll show you how to get an Divio Cloud project running locally.

 Tip: If your code works with django CMS, you can expect it to work with Divio Cloud.

One of Divio Cloud's most important features is the way it allows you to deploy your own Django code while providing you with a comfortable and familiar local environment for development.

Divio Cloud provides a fairly standard Django environment, which means that just about any Django code can be deployed to Divio Cloud. It does however have some specific requirements. In order to be sure that your code will run as expected on our cloud-based servers, the local environment it provides replicates as far as possible the one your code will encounter when deployed.

Set up and run the project locally

Install and launch the Divio App

Select your project and hit Setup to get started. The Divio App will run through a number of processes to set up the local project. It all happens automatically and takes just a few minutes.

Once this process has completed, you can actually start the local site by getting the local server running. Select Start to launch it. To open the local site in your browser, click the eye icon.

Launch the Divio Shell

If you're going to be using the local project as a development tool (it's ideal for this) you will want a shell that can interact with it.

The Divio Shell option will set this all up for you. Just hit Divio Shell, and in a few moments you'll be in a terminal shell session, ready to work with your project from the command line too.

In the Divio App, find the Divio Cloud project you want to set up locally.

Check that your Divio Local environment is properly configured - click the Divio Shell button in the bottom-left of the Divio App window. This will check your configuration, download and install required software components, and configure them appropriately.

Finally it will open a terminal window ready for you to use. Change into the directory for your project to work with it.

Did this answer your question?