From 71776558bf47b88d97e49828ba8ffdf1c98b56c6 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 2 Dec 2018 22:15:39 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index ab4e925b..3ead0c54 100644 --- a/README.md +++ b/README.md @@ -20,30 +20,21 @@ Live Demo @ heroku: https://pigallery2.herokuapp.com/ ## Getting started (on Raspberry Pi 1) -### Install NodeJs +### [Install NodeJs](https://nodejs.org/en/download/) Download and extract ```bash -cd ~ -wget https://nodejs.org/dist/v6.10.3/node-v6.10.3-linux-armv6l.tar.gz -tar -xzf node-v6.10.3-linux-armv6l.tar.gz +curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - +sudo apt-get install -y nodejs ``` -Copy it to /usr/local: -```bash -cd node-v6.10.3-linux-armv6l/ -sudo cp -R * /usr/local/ -``` -Add to path. Add the following line to `~/.bashrc` -```bash -PATH=$PATH:/usr/local/bin -``` -Full node install description: https://raspberrypi.stackexchange.com/questions/48303/install-nodejs-for-all-raspberry-pi + +Full node install on rapberry pi description: https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp ### Install PiGallery2 #### Install from release ```bash cd ~ -wget https://github.com/bpatrik/pigallery2/releases/download/1.2.0/pigallery2.zip +wget https://github.com/bpatrik/pigallery2/releases/download/1.5.0/pigallery2.zip unzip pigallery2.zip cd pigallery2 npm install From 0710e210a34b2dced3ed6d4a5ba49191a998a533 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 2 Dec 2018 22:30:49 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ead0c54..0edf7492 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ This is a directory-first photo gallery website, optimised for running on low resource servers (especially on raspberry pi) ## Live Demo -Live Demo @ heroku: https://pigallery2.herokuapp.com/ +Live Demo @ heroku: https://pigallery2.herokuapp.com/ + - the demo page **first load** might take up **30s**: the time while the free webservice boots up ## Table of contents 1. [Getting started](#getting-started-on-raspberry-pi-1)