Ei kuvausta

Nikola Kotur bc70abed40 docs: updated running information 9 vuotta sitten
bin 57c7338bfe app: added celery worker 10 vuotta sitten
conf 8bf4df6113 conf: added the rest of server configuration 9 vuotta sitten
database 19873f6d6d app: task fixes 10 vuotta sitten
db_repository 33f282c638 app: production updates 10 vuotta sitten
phosic 1c866a6730 app: fixed horizontal resolution 10 vuotta sitten
static 45edf586ee html: contact page 10 vuotta sitten
templates 12811aa32a html: removed rabbitmq, added redis 10 vuotta sitten
tests cdbaabbf9e Initial skeleton. 10 vuotta sitten
.gitignore 57c7338bfe app: added celery worker 10 vuotta sitten
Procfile cdbaabbf9e Initial skeleton. 10 vuotta sitten
README.md bc70abed40 docs: updated running information 9 vuotta sitten
db_create.py 57c7338bfe app: added celery worker 10 vuotta sitten
db_downgrade.py 57c7338bfe app: added celery worker 10 vuotta sitten
db_migrate.py 57c7338bfe app: added celery worker 10 vuotta sitten
db_upgrade.py 57c7338bfe app: added celery worker 10 vuotta sitten
flask_app.py c8e79abaca app: added debug toolbar 10 vuotta sitten
main.py 68224a8237 app: fixing missing config 10 vuotta sitten
requirements.txt 92febbbea1 app: added redis requirement 10 vuotta sitten

README.md

Phosic

Simple web service to join mp3 file and a picture using Flask, ffmpeg, Celery, SQLite and Redis.

How to run it?

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

Production

To run phosic in production see conf directory for nginx configuration and supervisord units.