Skip to content

victoraguilarc/wise-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published