Add cron step to readme, remove unused import

This commit is contained in:
dave 2014-08-30 11:02:17 -07:00
parent 95810dcef9
commit 2d0a2a9a0a
2 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,7 @@ A python3 web app to record internet radio streams and present them in a podcast
- Write the config for uwsgi, start that daemon - Write the config for uwsgi, start that daemon
- Write the config for nginx, and view the page. - Write the config for nginx, and view the page.
- Create a symbolic link in static/ pointing to files/output/. Command: `mkdir files/ ; mkdir files/output/ ; mkdir files/temp/ ; ln -s ../files/output static/test ` - Create a symbolic link in static/ pointing to files/output/. Command: `mkdir files/ ; mkdir files/output/ ; mkdir files/temp/ ; ln -s ../files/output static/test `
- Add a cron job to call http://my.server/api/tick every minute.
Podcast usage: each schedule has a numerical id. To view the podcast, http://my.server/api/getPodcast?id=[number] Podcast usage: each schedule has a numerical id. To view the podcast, http://my.server/api/getPodcast?id=[number]

1
app.py
View File

@ -13,7 +13,6 @@ import signal
from jinja2 import Environment, FileSystemLoader from jinja2 import Environment, FileSystemLoader
from libs import database from libs import database
from libs import recordTick from libs import recordTick
from feedgen.feed import FeedGenerator
from datetime import datetime from datetime import datetime
if __name__ == '__main__' or 'uwsgi' in __name__: if __name__ == '__main__' or 'uwsgi' in __name__: