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
-
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 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 install
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
Built Distribution
File details
Details for the file wise-cli-0.0.2.tar.gz
.
File metadata
- Download URL: wise-cli-0.0.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7badcfac16b34888b684ff1928167cd54af66ba6d365f6ef4038d1d2faac92a0
|
|
MD5 |
f998501718e2e553d39c1d30b56dea07
|
|
BLAKE2b-256 |
4a3a976e79ef12ad871d22f6c22e74708e46bab99b23b4a60427f7ea903d7df0
|
File details
Details for the file wise_cli-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: wise_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1899a6bf25de5cd30ef8927cbdcaf679f18ef6a34095a778e8e29a5ef3b0dfa3
|
|
MD5 |
c1bc46ff2851403dd33333f832d0ad3e
|
|
BLAKE2b-256 |
a09327bf97563d69704b5c118de0b40b38b9e886ca665065292672b690fafed9
|