mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Added convenience scripts for creating venv.
This commit is contained in:
parent
363852973b
commit
d7234b6c6d
16
make_venv.cmd
Normal file
16
make_venv.cmd
Normal file
@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
|
||||
echo Installing venv...
|
||||
python -m pip install virtualenv
|
||||
|
||||
echo[
|
||||
echo Creating venv...
|
||||
python -m venv venv
|
||||
call venv\Scripts\activate.bat
|
||||
|
||||
echo[
|
||||
echo Pulling dependencies...
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
pause
|
2
manage.cmd
Normal file
2
manage.cmd
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
python %~dp0\app\manage.py %*
|
2
venv_cmd.cmd
Normal file
2
venv_cmd.cmd
Normal file
@ -0,0 +1,2 @@
|
||||
@set APP_PATH=%~dp0\app
|
||||
@cmd /k "set PATH=%PATH%;%APP_PATH% && venv\Scripts\activate.bat
|
Loading…
Reference in New Issue
Block a user