Deployed on AWS
- http://system-viewer.us-east-1.elasticbeanstalk.com/
- http://system-viewer-dev.us-east-1.elasticbeanstalk.com/
Technologies used:
- Python 3.8
- Django 3.0
- Django Rest framework
- Docker
- Docker-compose
- Poetry
- Pyenv
- AWS Elastic Beanstalk
-
Install & Run on local computer
poetry install poetry run pip install -r requirements.txt poetry run python manage.py runserver 0:8000
-
Run with docker
docker build -t ophirt/docker-web . docker run -v /var/myapp/database/:/myapp/database/ -p 8000:8000 --name system-viewer -d ophirt/docker-web docker stop system-viewer docker rm system-viewer
-
Run with docker compose
docker-compose build docker-compose up -d docker-compose down -v
poetry run python manage.py makemigrations
poetry run python manage.py migrate