https://github.com/victoraguilarc/wise-cli
CLI Tool to make Django deployments
https://github.com/victoraguilarc/wise-cli
cli click deployment django
Last synced: 4 months ago
JSON representation
CLI Tool to make Django deployments
- Host: GitHub
- URL: https://github.com/victoraguilarc/wise-cli
- Owner: victoraguilarc
- License: mit
- Created: 2019-05-01T22:48:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T01:37:37.000Z (about 3 years ago)
- Last Synced: 2025-11-28T20:28:50.039Z (4 months ago)
- Topics: cli, click, deployment, django
- Language: Python
- Homepage: https://wise.xiberty.com
- Size: 163 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wise CLI
`wise` is a tool to deploy `Django` projects based on [django-wise template](https://github.com/victoraguilarc/django-wise)
## Installation
#### Stable Version
```bash
pip install wise-cli
```
#### Development Version
```bash
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
```bash
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