Open will-saunders opened 4 years ago
Ok - I got it running. Started with a bare Raspberry Pi 3 - 64bit architecture Installed Ubuntu 18.04 server on microSDcard and booted Set user pasword Leaving the machine with no GUI desktop to keep speed reasonable Installed Aptitude (sudo apt install aptitude) for easier package maintenance Installed Avahi (gives the device a recognizable hostname even on a DHCP network) Installed nodejs (sudo apt install nodejs) Cloned the repo to /var/www/html (probably not the best place to put it) Installed mongod (sudo install mongod) Made a data directory for mongo as /home/ubuntu/data/db Started a second ssh shell instance Started mongo in the second shell with custom data path (mongod --dbpath /home/ubuntu/data/db) Started keystone (cd /var/www/html/ACT/BCAT/survey-app/ then npm start) Switch to web browser and open http://pi-act.local:3000
on first run it took about 5 seconds to load the landing page; about 10 seconds to log in; about 30 seconds to load keystone config. May need to stop some services on the pi.
It would be nice to have a version/branch of the app that could run locally on a raspberry pi without an internet connection.
I have a Raspberry Pi 3 and am starting to build.
Components needed: