Last active
June 8, 2020 17:49
-
-
Save jimfilippou/fd65b50279133766be7d66d0244e2ca5 to your computer and use it in GitHub Desktop.
A list of useful and time saving batch files for rapid Flask application development.
This file contains hidden or 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 | |
cd %USERPROFILE%/Desktop/Projects/Bandicoot 2/env/Scripts | |
call activate.bat | |
cd %USERPROFILE%/Desktop/Projects/Bandicoot 2 | |
IF "%1"=="public" GOTO PUBLIC | |
python manage.py runserver | |
:PUBLIC: | |
python manage.py runserver --host 0.0.0.0 |
This file contains hidden or 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 | |
ngrok http 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment