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 details)

Uploaded Source

File details

Details for the file wise-cli-0.0.1.tar.gz.

File metadata

  • Download URL: wise-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for wise-cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b8c95d7a4b0f0a000c840d5669d45e444f268d31c3a7630aff3742f4c4ddabe
MD5 4373918f8302ec3728606ce76192d2e9
BLAKE2b-256 81a3993d9650c887dfb1f6582ce98f1caa3da715e78e61d646a98bec3c46cd71

See more details on using hashes here.

Supported by

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