Welcome to Planet Pluto. (Auto-)build your own (static) planet news site from Unvanquished development feeds.
To get started:
Use git and clone this repo e.g.
git clone https://github.com/Unvanquished/pluto-devfeeds.gitTo install the planet pluto tools and libraries use ruby's bundler e.g.
cd pluto-devfeeds
make prepareRuby's bundler will use the Gemfile to
know what you want to install and will
generate a Gemfile.lock that will list all libraries
with all dependencies and versions locked down.
Try:
make checkto check up on your pluto installation. It must print the pluto help.
Now build the sample starter planet. Try:
make
This will
-
fetch all feeds listed in
planet.iniand -
store all entries in a local single-file SQLite database, that is,
planet.dbin your working folder and -
generate a planet web page, that is,
index.htmlin yourbuild/folder using thedevfeedstemplate pack in theplanet-devfeedsfolder using all feed entries from the local database. It also builds custom css using sass.
Open up build/index.html in your web browser
to see your planet web page. Voila!
Now change the planet configuration in planet.ini to fit your needs.
Change the title and add your web feeds.
Look & feel. Change the starter templates in planet-devfeeds
to your liking.
Happy planet!
Q: How can I update the web feeds and (re)build the planet page(s)?
A: Rerun the command:
makeThat's it ;-) The pluto feed fetcher will use conditional HTTP get requests and content hash checks for web feeds etc.
Q: For testing how can I (re)build the planet pages(s) WITHOUT fetching the web feeds?
A: Use the build target:
make buildQ: How can I update the web feeds WITHOUT (re)building the planet page(s)?
A: Use the update target:
make update- Pluto Planet Guide (Book Edition) - Official Documentation
- Pluto Planet Template Packs/Themes - Blank, Digest, Hacker, Paper, Forty, News, Top 'n' More
- Talk Notes - New Horizons - Build Your Own (Static) Planet News Site w/ Pluto (and Ruby)
The pluto.starter scripts and templates are dedicated to the public domain. To be kind, the pluto-devfeeds deviation is dedicated to public domain too. Use it as you please with no restrictions whatsoever.
For Pluto related questions, send them along to the wwwmake Forum/Mailing List, for Unvanquished related questions, send them along the Unvanquished forum. Thanks!
