making it ready for prd

This commit is contained in:
2026-01-01 21:33:12 +01:00
parent 7ab655626a
commit c6bc4ed33d
4 changed files with 14 additions and 2 deletions
+7 -1
View File
@@ -1,3 +1,9 @@
# lapp
list app
list app
install
1. clone repo
2. create subfolder "instance" to store database file
3. for an initial instance: run python3 initialze_data.py
4. add the below config to your apache2 enabled site
+1 -1
View File
@@ -1,4 +1,4 @@
from app import create_app
from lapp import create_app
import sqlalchemy as sa
from models import db, User, ListOfItems, Shared, Item
View File
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/python3
import sys
sys.path.insert(0, '/usr/share/projects/wsgi_apps/lapp')
from lapp import app as application