get rid of driver shell script, to simplify deployment

update README and crontab to match
This commit is contained in:
Stefano Zacchiroli 2015-09-15 08:57:16 +02:00
parent 8711fad9fa
commit 35a855ba32
3 changed files with 19 additions and 36 deletions

25
README
View file

@ -19,20 +19,29 @@ Dependencies
============
- python3
- python3-sqlalchemy
- python3-psycopg2
- python3-requests
- python3-sqlalchemy
Configuration file
==================
Deployment
==========
1. git clone under $GHLISTER_ROOT (of your choosing)
2. mkdir ~/.config/swh/ ~/.cache/swh/lister-github/
3. edit $GHLISTER_ROOT/etc/crontab and customize GHLISTER_ROOT
4. crontab $GHLISTER_ROOT/etc/crontab
5. create configuration file ~/.config/swh/lister-github.ini
Sample configuration file
-------------------------
cat ~/.config/swh/lister-github.ini
[main]
# see http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
db_url = postgres:///github
cache_dir = cache
log_dir = log
username = foobar
password = quux
# see http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
cache_dir = /home/zack/.cache/swh/lister-github
log_dir = /home/zack/.cache/swh/lister-github
username = foobar # github username
password = quux # github password