Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
jakobsn fd9b18cee6 Add task to project frontend před 6 roky
mysql more database tables and creating of projects. Bug encountered, sleep on it před 6 roky
src Add task to project frontend před 6 roky
templates basic login and session enabled před 6 roky
.gitignore more database tables and creating of projects. Bug encountered, sleep on it před 6 roky
README.md show categories and projects před 6 roky
docker-compose.yml webserver launch before database ready před 6 roky

README.md

Simple python web application

Python webpy application running on uswgi server with nginx using docker connected to another docker-runned mysql database.

Web Server image: https://github.com/tiangolo/uwsgi-nginx-docker webpy framework: http://webpy.org/

prerequisites:

docker https://www.docker.com/

Build & Run

$ docker-compose up --build

Prune/Recreate

If you need a fresh rebuild in case of startup issues use this command (WARNING this will remove all your docker images) $ docker system prune -a $ docker-compose up --build

Deploy locally

Install: mysql src/app/requirements.txt

Run: Launch mysql at port 3306 Execute mysql queries “CREATE database db;” “USE db;” Populate mysql by posting mysql/sql/init.sql into mysql Edit src/app/models/database.py to point at local server python3 src/app/main.py