pip freeze > requirements.txt
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
npm i
npm run serve
npm run build
- Linux
service nginx start
service nginx stop
service nginx restart
service nginx status
nginx -s reload
- Windows
taskkill /f /im nginx.exe
daphne project.asgi:application -b 0.0.0.0 -p 8081
uwsgi --ini uwsgi.ini
docker build -t test .
docker run -p 44200:44200 test
docker compose up
docker compose build --no-cache
docker compose up --build
docker compose build