Nikola Kotur bc70abed40 docs: updated running information | пре 9 година | |
---|---|---|
bin | пре 10 година | |
conf | пре 9 година | |
database | пре 10 година | |
db_repository | пре 10 година | |
phosic | пре 10 година | |
static | пре 10 година | |
templates | пре 10 година | |
tests | пре 10 година | |
.gitignore | пре 10 година | |
Procfile | пре 10 година | |
README.md | пре 9 година | |
db_create.py | пре 10 година | |
db_downgrade.py | пре 10 година | |
db_migrate.py | пре 10 година | |
db_upgrade.py | пре 10 година | |
flask_app.py | пре 10 година | |
main.py | пре 10 година | |
requirements.txt | пре 10 година |
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.