Skip to main content

Django deployment CLI

Project description

Wise CLI

wise is a tool to deploy Django projects based on [django-wise template](https://github.com/victoraguilarc/django-wise)

Installation

Stable Version:

pip install wise

Development Version:

[sudo] pip install git+https://github.com/victoraguilarc/wise-cli.git

Usage

  • Clone wise Django template::

    git clone https://github.com/victoraguilarc/wise.git

  • Configure Project. The project must have a folder called .envs for environment variables por development and a file .env for production with virtualenv deployment mode.

  • Add config file to cloned project.

By defaul wise uses django.json, This file could contains configuration values, for example:

{
    "deployment": "virtualenv",
    "project": "wise",
    "password": "CHANGE_THIS!!",
    "domain": "www.xiberty.com",
    "ipv4": "0.0.0.0",
    "db_engine": "postgres",
    "web_server": "nginx",
    "https": true,
    "superuser": "username",
    "sshkey": "/Users/username/.ssh/id_rsa.pub"
}

License

This code is licensed under the MIT License.

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

wise-cli-0.0.1.tar.gz (12.5 kB view hashes)

Uploaded Source

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