Skip to content

وب‌سایت درس جبر خطی - دکتر ربیعی

Notifications You must be signed in to change notification settings

ssc-public/Linear-Algebra

Repository files navigation

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