mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
Добавлены скрипты для запуска приложения на Linux
This commit is contained in:
@@ -12,5 +12,9 @@ python init_db.py
|
||||
### Запуск приложения:
|
||||
На Windows запускать через
|
||||
```
|
||||
runscripts/startserverdev.bat
|
||||
runscripts/windows/startserverdev.bat
|
||||
```
|
||||
На Linux через
|
||||
```
|
||||
runscripts/linux/startserverdev.bat
|
||||
```
|
||||
8
runscripts/linux/startserverdev.sh
Normal file
8
runscripts/linux/startserverdev.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set echo off
|
||||
|
||||
export FLASK_APP=dyxless
|
||||
export FLASK_ENV=development
|
||||
|
||||
flask run
|
||||
6
runscripts/linux/startserverprod.sh
Normal file
6
runscripts/linux/startserverprod.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
set echo off
|
||||
|
||||
export FLASK_APP=dyxless
|
||||
|
||||
flask run
|
||||
7
runscripts/windows/startserverdev.bat
Normal file
7
runscripts/windows/startserverdev.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
@echo off
|
||||
|
||||
set FLASK_APP=dyxless
|
||||
set FLASK_ENV=development
|
||||
|
||||
flask run
|
||||
6
runscripts/windows/startserverprod.bat
Normal file
6
runscripts/windows/startserverprod.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
@echo off
|
||||
|
||||
set FLASK_APP=dyxless
|
||||
|
||||
flask run
|
||||
Reference in New Issue
Block a user