Divio Cloud developer handbook¶
Contents¶
Tutorials¶
Get started with a hands-on introduction to the Divio Cloud fordevelopers.
How-to guides¶
Step-by-step guides for the developer covering key operations and procedures
Reference¶
Technical reference - tools, components and commands
Background¶
Explanation and discussion of key topics
About the Divio Cloud¶
The Divio Cloud is a platform for Python/Django webprojects. The Divio Cloud aims to offer developers:
More reliable deployment - it’s built in Python and Django, and uses Dockerto give application developers a local development environment that isconsistent between the Cloud live and test servers - in other words, a systemwhere if it works on your machine, you can expect it to work in production.
Easier deployment and maintenance - the Dockerised Cloud platform makes itpossible for developers to get their projects online, and to take charge ofdeployment, maintenance and scaling, without needing the operations or systemadministrator skills this usually demands to do well.
Better portability - the containerisation technology used in Divio Cloudprojects guarantees portability and means freedom from lock-in to a singleprovider. A Divio Cloud project can be easily deployed on another platformthat supports Docker.
About this handbook¶
The handbook is aimed at developers, who are already familiar withcommand-line tools and either know some basic Python or are experiencedprogrammers.
For those with less experience, we recommend our tutorial for non-developers, while if you’d like an overview of what theDivio Cloud can offer as a business tool, please visit the Divio website.
Detailed table of contents¶
- Tutorials
- How-to guides
- Install system packages
- Set up Sass CSS compilation
- Configure Celery
- Configure Django settings
- Migrate an existing project to Divio Cloud
- Add a Django application
- Set up password protection
- Fine-tune uWSGI server performance
- Work with multi-site projects
- Interact with your project’s database
- Interact with your project’s media storage
- Use Git to manage your project
- Package an application as an addon
- Update an existing addon
- Log in to a local Django project
- Run the local server in Live mode
- Debug Cloud deployment problems
- Identify and resolve a dependency conflict
- Technical reference
- The Divio application
- Divio CLI
- The Cloud and local shells
- The .aldryn file
- Docker commands
- The Dockerfile
- The docker-compose.yml file
- The settings.py file
- Application configuration with aldryn_config.py
- Application configuration with environment variables
- uWSGI configuration
- Working with your project’s media storage in Python applications
- Caching in Divio Cloud applications
- Sending email in Divio Cloud applications
- Aldryn Django (core Django)
- Aldryn SSO (authentication)
- Aldryn Addons (addon integration)
- Local commands cheatsheet
- Background information