Skip to content

nadavgihasi/system-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

system-viewer

Backend

Deployed on AWS

Technologies used:

  • Python 3.8
  • Django 3.0
  • Django Rest framework
  • Docker
  • Docker-compose
  • Poetry
  • Pyenv
  • AWS Elastic Beanstalk

Developer notes

How to run?
  1. Install & Run on local computer

    poetry install
    poetry run pip install -r requirements.txt
    poetry run python manage.py runserver 0:8000
  2. 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
  3. Run with docker compose

    docker-compose build
    docker-compose up -d
    docker-compose down -v
How to migrate?
poetry run python manage.py makemigrations
poetry run python manage.py migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published