Skip to main content

Django deployments CLI.

Project description

Wise CLI

wise is a tool to deploy Django projects based on django-wise template

Installation

Stable Version

pip install wise-cli

Development Version

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

Usage

  1. Clone wise Django template
git clone https://github.com/victoraguilarc/wise.git
  • 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 default 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"
}

Development

pip install poetry
poetry build
pip install -e .

License

This code is licensed under the MIT License.

.. _MIT License: https://github.com/victoraguilarc/suarm/blob/master/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.3.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

wise_cli-0.0.3-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wise-cli-0.0.3.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.3.0

File hashes

Hashes for wise-cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d8a555e5969d3d65e59af3fe0af23f71aea6c58f4d8f605732b700176f1f05b8
MD5 defc1716b6b948604d29f38576acaf5b
BLAKE2b-256 96ab5ddcc45f1f89f030b33dc81aae64bb5314d7ff31c61033a337a16f597fda

See more details on using hashes here.

File details

Details for the file wise_cli-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: wise_cli-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.3.0

File hashes

Hashes for wise_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec47d84f33d4cbdc83d0824ce9557acd2ced1800cc60e2a3c1c11188af991ac
MD5 919ab04454c9799db3928c2c4a2229d8
BLAKE2b-256 e0b9863d81665e4849b964b867237474287b9e3668bfe7f341fb0724feaee973

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