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
- 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.4.tar.gz
(18.6 kB
view details)
Built Distribution
wise_cli-0.0.4-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file wise-cli-0.0.4.tar.gz
.
File metadata
- Download URL: wise-cli-0.0.4.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0fc7ac6f8c2c078bc395c70bf62e6a6bf84e630fb4dd7e22b0227365fcfcac1a
|
|
MD5 |
bafa6545d74bd11ccdbef2a6b4d222ab
|
|
BLAKE2b-256 |
c26cc3446245f81baf40d3e84877ffd30ae75591a8af5ae7c6f5d2ba9424bc9e
|
File details
Details for the file wise_cli-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: wise_cli-0.0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9e903b3a17ac3e61a3351744f10cc47411dcbfd4d4cac7c6180759ad890af4b1
|
|
MD5 |
1a0323178b2acfb6097d234406ecfd46
|
|
BLAKE2b-256 |
12cdae574ac1803164ba8eb40fbbeba6164e85e5bc6eae27456b5f52f20aac38
|