Skip to main content

Collection of tasks to manage the deployment of dockerized django apps.

Project description

Part of the DStack project. This package provides the utilities and tasks that make it easier to develop, build and deploy dockerized Django apps.

Detailed documentation is in the “docs” directory.

Quick start

  1. Install the library:

    pip install -U git+https://github.com/obitec/dstack-tasks
  2. Import the package at the top of your project’s fabfile:

    # fabfile.py
    from dstack_tasks import *
  3. Run the doctor task to check if everything is okay:

    fab doctor
  4. Create a project.yml and/or .env file to configure your tasks:

    # project.yml
    project:
      name: example
      version: 0.9.9
      maintained_by:
        - name: A Thor
          email: e@mail.com
      description: "How awesome is your project?"
    
    # .env
    HOST_NAME=example_host
    VIRTUAL_ENV=example_env
    PROJECT_NAME=example_name
  5. Happy coding :-)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dstack_tasks-0.12.0-py3-none-any.whl (33.2 kB view hashes)

Uploaded Python 3

Supported by

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