Nikola Kotur bc70abed40 docs: updated running information | 9 years ago | |
---|---|---|
bin | 10 years ago | |
conf | 9 years ago | |
database | 10 years ago | |
db_repository | 10 years ago | |
phosic | 9 years ago | |
static | 10 years ago | |
templates | 9 years ago | |
tests | 10 years ago | |
.gitignore | 10 years ago | |
Procfile | 10 years ago | |
README.md | 9 years ago | |
db_create.py | 10 years ago | |
db_downgrade.py | 10 years ago | |
db_migrate.py | 10 years ago | |
db_upgrade.py | 10 years ago | |
flask_app.py | 10 years ago | |
main.py | 10 years ago | |
requirements.txt | 9 years ago |
Simple web service to join mp3 file and a picture using Flask, ffmpeg, Celery, SQLite and Redis.
In development mode, create virtual environment and install requirements.txt
with pip, and then create the database:
./db_create.py
./db_upgrade.py
After that just use the script in bin
folder to run it:
./bin/run.sh
Now you can access the website at http://localhost:8000
To run phosic in production see conf
directory for nginx configuration and
supervisord units.