Update readme again
This commit is contained in:
parent
a057d9d13b
commit
145be4731e
@ -14,12 +14,13 @@ A python3 web app to record internet radio streams and present them in a podcast
|
||||
|
||||
### Installation
|
||||
|
||||
- Checkout the source to somewhere on your hard disk. In the examples below, the path to the root of the source is /home/streamrecord/app/. Cd to here.
|
||||
- Use the sqlite3 command line client to called "db.sqlite", and execute the two create table queries in lib/database.py. Syntax is: `sqlite3 db.sqlite '<query here>'.
|
||||
- Checkout the source to somewhere on your system. In the examples below, the path to the root of the source is /home/streamrecord/app/. Cd to here.
|
||||
- Use the sqlite3 command line client to called "db.sqlite", and execute the two create table queries in lib/database.py. Syntax is: `sqlite3 db.sqlite 'query here'`.
|
||||
- Write the config for uwsgi, start that daemon
|
||||
- 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/ ; ln -s ../files/output static/test ;
|
||||
|
||||
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]
|
||||
|
||||
### Uwsgi config
|
||||
|
||||
@ -57,7 +58,7 @@ server {
|
||||
uwsgi_pass 127.0.0.1:3330;
|
||||
}
|
||||
location /streamrecord/static/ {
|
||||
autoindex on;
|
||||
autoindex off;
|
||||
alias /home/streamrecord/app/static/;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user