A simple command line package for deploying Flask/Django apps on a Ubuntu system.
⚡ Added support for MongoDB
$ sudo pip3 install webdeploy
$ git clone https://github.com/idaljeetsingh/webdeploy
$ cd webdeploy
$ sudo python3 setup.py install
- A fresh Ubuntu installation is preferred.
- Installing the package using sudo is necessary as it will make changes on system by installing packages to deploy the app.
- MongoDB
Using the package is very simple. Just open the terminal and type respective command for either Flask or Django app.
There are two ways for initiating the deploy sequence
- From the project root directory - Picks up default information automatically
- Anywhere in the system - Requires to enter project information manually
WebDeploy-flask
WebDeploy-django
Flask: Deploying Flask App on Ubuntu using WebDeploy
Django: Deploying Django App on Ubuntu using WebDeploy