Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 766 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 766 Bytes

JabreKh

Deploy for Development

To deploy the server for development, run the following command.

docker compose up -d --build

In this case, the server will be available at http://localhost:8000 with live delivery of code changes of django and react. Nginx is not used in this case.

Deploy for Production

docker-compose -f docker-compose.prod.yml up -d --build
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate --noinput
docker-compose -f docker-compose.prod.yml exec web python manage.py collectstatic --no-input --clear

References

TODOs

  • CSRF Allowed Hosts