Dokku is a powerfull and lightweight PaaS with git push
deployment.
The goal of this project is build a web application dashboard above Dokku
command line tool to manage apps.
- Python 3.x
-
SSH into your
Dokku
server host -
Login as dokku user
sudo su - dokku
- Set dashboard environment variables
export SERVER_PROTOCOL=http
export SERVER_HOST=platform.domain.com
- Clone this repository in
Dokku
home folder and exit dokku user
cd /home/dokku
git clone https://github.com/lohanbodevan/dokku-dashboard.git
exit
- Login as root
sudo su
- Go to application folder
cd /home/dokku/dokku-dashboard
- Start APP
./start.sh
Access Dokku Dashboard
as http://dashboard.<your_dokku_server_domain>/apps
- Install OS dependencies
make setup-os
- Create virtualenv
virtualenv --python=python3 venv
- Activate virtualenv
source venv/bin/activate
- Install app dependencies
make setup
- Run
make run
make test
make flake8