Skip to main content

A plugin for django-simple-deploy, supporting deployments to Scalingo.

Project description

dsd-scalingo

A plugin for deploying Django projects to Scalingo, using django-simple-deploy.

For full documentation, see the documentation for django-simple-deploy.

Current status

This plugin is in a pre-1.0 development phase. Scalingo has one of the best free trial plans in the industry, so this plugin will be prioritized and should move forward quickly.

Prerequisites

  • You need to be using Git for version control, and your project needs to start with a clean status (no uncommitted changes).
  • You need to have a requirements.txt file. Deployment should also work if you're using Poetry or Pipenv. If you're using uv, you can generate a requirements.txt file and then run the deploy command as described below.
  • You need an active account on Scalingo.

Configuration-only deployment

In this mode, django-simple-deploy handles all the configuration work, but lets you create the remote Scalingo app, commit changes that are made, and run the push command yourself.

  • Install the Scalingo CLI.
  • Upload your SSH public key to Scalingo.
  • Run the following commands to install the plugin, and create a remote Scalingo app:
$ pip install dsd-scalingo
# Add django_simple_deploy to INSTALLED_APPS.
$ scalingo login
$ scalingo create <scalingo-app-name>

Now review the changes that were made, and then push your project:

$ git add .
$ git commit -m "Configured for deployment to Scalingo."
$ git push scalingo main
$ scalingo open

Your deployed project should appear in a new browser tab.

Fully automated deployment

  • Install the Scalingo CLI.
  • Upload your SSH public key to Scalingo.
  • Run the following commands:
$ scalingo login
$ pip install dsd-scalingo
# Add django_simple_deploy to INSTALLED_APPS.
$ python manage.py deploy --automate-all

Your deployed project should appear in a new browser tab.

Destroying a project

If you're doing a test deployment and want to destroy your project:

$ scalingo --app <app-name> destroy

You can also destroy projects through the Scalingo dashboard.

Scalingo documentation

These have been the most helpful parts of the Scalingo docs so far:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsd_scalingo-0.2.3.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsd_scalingo-0.2.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file dsd_scalingo-0.2.3.tar.gz.

File metadata

  • Download URL: dsd_scalingo-0.2.3.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dsd_scalingo-0.2.3.tar.gz
Algorithm Hash digest
SHA256 cdf72471864300188ba99b41c021ab9d5f8901b6fbd936a0ccbe6e8c5600c88a
MD5 f56784a93728a02611bda037f137a39a
BLAKE2b-256 e7c2a1b8260a9e2ce1d592476eb9330840618dfbfdd79a6e6cd6ca4cf4902440

See more details on using hashes here.

File details

Details for the file dsd_scalingo-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: dsd_scalingo-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dsd_scalingo-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 787b70605a3e2e46657bfdb13b15ca153a3a4c941d17e6f5942fa9122b67f973
MD5 8bcd06e1eed45d60ebd22c5e8336c303
BLAKE2b-256 6f35cdbee12c268c81dd6146ef08bce5311a05f661e3bcaaa9ae371b75b1e16d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page