Rettelsaer
This commit is contained in:
14
linedance-api/start_local.bat
Normal file
14
linedance-api/start_local.bat
Normal file
@@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
echo Starter LineDance API lokalt...
|
||||
cd /d %~dp0
|
||||
if not exist venv (
|
||||
python -m venv venv
|
||||
venv\Scripts\pip install -r requirements.txt
|
||||
)
|
||||
if not exist .env (
|
||||
copy .env.example .env
|
||||
echo.
|
||||
echo VIGTIGT: Rediger .env med dine database-indstillinger!
|
||||
pause
|
||||
)
|
||||
venv\Scripts\uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||||
Reference in New Issue
Block a user