Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/code4lib/planetcode4lib

Configuration for https://planet.code4lib.org/
https://github.com/code4lib/planetcode4lib

Last synced: about 1 month ago
JSON representation

Configuration for https://planet.code4lib.org/

Awesome Lists containing this project

README

        

# planet.code4lib.org

[Planet Code4Lib](http://planet.code4lib.org/) aggregates feeds and blogs of interest to the [Code4Lib](http://code4lib.org/) community. It uses [Planet Venus](https://github.com/rubys/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](mailto:[email protected]) 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.