Last active
November 22, 2017 08:53
-
-
Save LowerDeez/ec84d752705308688f52da48d33cf42d to your computer and use it in GitHub Desktop.
Django. .bat files to run client and server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cmd /k "cd /d %~dp0\env\Scripts\ & activate & cd /d %~dp0\server\ & set "DJANGO_SETTINGS_MODULE=app.settings" & celery -A app worker -l info" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cmd /k "cd /d %~dp0\client\ & npm run dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cmd /k "cd /d %~dp0\env\Scripts\ & activate & cd /d %~dp0\server\ & python manage.py runserver" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment