Python 3.6, Apache Libcloud, Flask
-
Create virtual environment:
a) navigate to project's folder
b) Linux: python -m venv venv (basically, the same for Win) (in some cases it's: python -m virtualenv venv ) -
Activate virtual environment:
Linux: source venv/bin/activate
Windows: venv\Scripts\activate.bat -
Install using pip: pip install -r requirements.txt (or pip3 install -r requirements.txt)
-
Run: python manage.py runserver (or python3 manage.py)
-
Connect using localhost:5000
app/ - application
main/ - routes
static/ - static files
templates/ - Jinja2 templates
libcloud_utils.py - libcloud wrapper
ssh_utils.py - ssh-related methods
config.py - configuration files
manage.py - launcher