- enter screen
- sudo docker-compose down -v
- 도커 이미지 삭제
- cd ..; sudo rm -rf congestion_level_prj
- git clone https://github.com/gwangmin/congestion_level_prj.git
- 깃헙 로긴
- cd congestion_level_prj; sudo docker-compose build
- sudo docker-compose up
- superuser admin/jy1234
- facility manager fm/fm
- 제약사항: FacilityManager 계정 하나 당 담당 Facility 한 개
- python manage.py createsuperuser로 추가
- admin 페이지에서 방금 추가한 계정 수정
- 최상위 사용자 권한, 스태프 권한 삭제하고 facility 지정
- Facility(시설)
- Building(관)
- CCTV
- Building(관)
- Statistics
- in dev source prepare_dev python manage.py runserver
- in deploy docker-compose build docker-compose up
user request -> server docker -> nginx <-> gunicorn -> django
- deploy guide
in screen util
- docker-compose down, remove images
- remove/clone git repo
- docker-compose build, up