Thirty Three Down Logo

[SOFT] NPR Lunchbox on the Raspberry Pi

Lunchbox

Raspberry Pi setup

First off, let's prep your Raspberry Pi. The Johnson County Library MakerSpace has a comprehensive guide on how to do that: follow the instructions, then come back here.

Downloading Lunchbox

Configuring a virtual environment

Testing your Lunchbox instance

All done? Time to build and test your Lunchbox instance. While in your lunchbox virtual environment, type fab app to generate a temporary version of Lunchbox for review.

From your Rasperry Pi, you can use an Web browser to connect to the local server at 127.0.0.1:8000 to check Lunchbox. If everything looks like it's working, you can move on to personalizing Lunchbox for your org.

Personalizing Lunchbox

It's important to personalize Lunchbox before building it and hosting it on your server: settings are spread over several configuration files in the final installation, so doing it now will save you a lot of time. The configuration instructions for logos, URLS and contact information on NPR's repository will walk you through everything you need to do!

After customizing Lunchbox, fill in the server information for the destination server in app_config.py. We used the following settings:

Rendering Lunchbox locally

If everything looks fine, you're ready for the final render and deployment.

You can visit your rendered Lunchbox installation from a browser on your Raspberry Pi at http://127.0.0.1/index.html.

Extra Resources


Raspberry Pi questions