For ubuntu, you can follow these steps
apt-get update
apt-get install -y python python-dev redis-server python-pip supervisor nginx git
cd /opt
git clone https://github.com/jimmy201602/webterminal.git
cd webterminal
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
You can run server locally like this.
python manage.py runserver
- build docker
docker build --no-cache -t webterminal:latest .
- run docker
docker run -d -p 80:80 --name webterminal webterminal