Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.47 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.47 KB

planet.code4lib.org

Planet Code4Lib aggregates feeds and blogs of interest to the Code4Lib community. It uses Planet Venus.

Installation generally

> git clone [email protected]:code4lib/planetcode4lib.git
> cd planetcode4lib
> git submodule init
> git submodule update
> ./venus/planet.py --verbose

The generated files will be in output/.

To test it with one feed, run

> ./venus/planet.py --verbose test.ini

Installation on the code4lib.org server

Downloading and cloning is done over HTTPS so it's as generic as possible. No updates are to be made on the server; they should be made locally, pushed to GitHub, then pulled down.

> # Become the c4l user
> cd /var/www/code4lib.org/planet_new
> git clone https://github.com/code4lib/planetcode4lib.git
> cd planetcode4lib
> git submodule init
> git submdule update
> ./venus/planet.py --verbose --expunge

To update:

> # Become the c4l user
> cd /var/www/code4lib.org/planet_new/planetcode4lib
> git pull

The relevant line in c4l's crontab is:

10,40 * * * * cd /var/www/code4lib.org/planet_new/planetcode4lib; ./venus/planet.py --expunge 2>&1

Adding (or removing) a feed

Additions are welcome! Email William Denton or submit a pull request modifying config.ini.

If you're on the list but don't want to be, please do the same, and you'll be removed, no questions asked.