================================================================================
Can't figure out what we were doing here. Some Lerna packing stuff. The webserver was packaged, and imported into the react frontend (see izac\packages\react-ui\src\pages\Order.jsx) for example. Didn't feel like fixing it, so I made some mock functions so you can get the webserver running.
Honestly, it's probably best to build it all from scratch. We built this in a hurry. And there was some heavy drinking involved. But please keep the drink css animation izac\packages\react-ui\src\components\Animation.jsx It was a thing of beauty.
Running the webserver
cd packages
cd react-ui
npm i
npm start
All of the front-end functions are mocked in packages\react-ui\src\pages\FAKE_API.js
Just take these functions and add them to a new api if you want.
glhf,
-tyler
================================================================================
Open source repository for iZac, the NoiseBridge Barbot.
Additional info at: https://tylermaran.github.io/izac/
config.sh
In this top-level directory, there is a default "config.sh" script that you can modify as you wish.
npm install
npm run bootstrap
source config.sh
npm start
source config.sh
npm run build
npm run prod
See notes/PI_SETUP.txt
for the setup instructions. If it's already
setup, then you can SSH into the box with:
TERM=xterm ssh pi@izac.noise
password should be noisebridge
.