This commit is contained in:
Daniel Tsvetkov 2020-05-02 13:40:29 +02:00
parent c85f6c3622
commit 96ada1266b
3 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ TASKS_PROC_DIR = os.path.join(TASKS_DIR, "proc")
DATABASE_FILE = os.path.join(DATA_DIR, "db.sqlite") DATABASE_FILE = os.path.join(DATA_DIR, "db.sqlite")
SQLALCHEMY_DATABASE_URI = 'sqlite:///{}'.format(DATABASE_FILE) SQLALCHEMY_DATABASE_URI = 'sqlite:///{}'.format(DATABASE_FILE)
SEARCH_INDEX_PATH = os.path.join(DATA_DIR, "search_index")
TEMPLATES_FOLDER = os.path.join(basepath, "webapp", "templates") TEMPLATES_FOLDER = os.path.join(basepath, "webapp", "templates")
STATIC_FOLDER = os.path.join(basepath, "webapp", "static") STATIC_FOLDER = os.path.join(basepath, "webapp", "static")

View File

@ -43,6 +43,7 @@ install_reqs() {
link_dev_oshipka() { link_dev_oshipka() {
source venv/bin/activate source venv/bin/activate
pip install -e ${OSHIPKA_PATH} pip install -e ${OSHIPKA_PATH}
pip install -e ${TWW_PATH}
} }
install_cert() { install_cert() {

View File

@ -30,5 +30,6 @@ SQLAlchemy==1.3.15
SQLAlchemy-Utils==0.36.3 SQLAlchemy-Utils==0.36.3
watchdog==0.10.2 watchdog==0.10.2
Werkzeug==1.0.0 Werkzeug==1.0.0
whooshalchemy==0.3.1
WTForms==2.2.1 WTForms==2.2.1
zipp==3.1.0 zipp==3.1.0