Last active
August 29, 2024 02:17
-
-
Save baobuiquang/18f58e85ce94f1d98933173c1d52d378 to your computer and use it in GitHub Desktop.
CMD Quickcodes
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
# Python | |
call py --version | |
# Virtual Environment | |
call py -m venv venv | |
call venv\Scripts\activate | |
call py -m pip install -U pip | |
call py run.py | |
# Install dependencies | |
call pip freeze > requirements.txt | |
call pip install -r requirements.txt | |
# Serve HTTP server | |
call py -m http.server --directory path/to/directory 9999 --bind 127.0.0.1 | |
# Keep cmd open | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment