Skip to content

saschamarkus/cultureondemand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cultureondemand

Backend

Das Backend bietet eine einfache REST-API zum Abfragen von Angeboten (offers) http://127.0.0.1:5000/api/v1/offers oder eines einzelnen Angebots http://127.0.0.1:5000/api/v1/offer/3

Installation

Einrichten des virtuellen Enviroments

cd backend

python3 -m venv venv-backend

source venv-backend/bin/activate

pip install -r requirements.txt

pip install -e .

Initiallisieren des Systems

cultureondemand db upgrade

cultureondemand init

Starten des Servers

uwsgi --http 127.0.0.1:5000 --module cultureondemand.wsgi:app

Aufräumen der DB

rm /tmp/cultureondemand.db Und dann bei "Initialisieren des Systems" wieder beginnen.

Frontend

cd frontend

python -m http.server 5001 --bind 127.0.0.1

Open http://127.0.0.1:5001/ with your browser

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published