-
Notifications
You must be signed in to change notification settings - Fork 131
Deploying a lamassu machine fork
naconner edited this page Jul 8, 2020
·
2 revisions
Lamassu provides technical support for our default software and installation, but cannot provide support for customisation or deploying changes. Notes here and elsewhere are provided as a courtesy.
Connect a USB keyboard to your machine's computer board, and press Ctrl+Alt+T.
Elevate to the root user by running:
sudo su
Use the password provided by our support team.
supervisorctl stop all
cd /opt
mv lamassu-machine lamassu-machine-orig
git clone https://github.com/your-user/lamassu-machine.git
cd lamassu-machine
git checkout your-branch
mkdir -p data/log
mkdir -p ui/css/fonts
cp -r ../lamassu-machine-orig/ui/css/fonts ui/css/fonts
cp -r ../lamassu-machine-orig/node_modules .
cp ../lamassu-machine-orig/licenses.json .
cp ../lamassu-machine-orig/device_config.json .
cd /tmp
sudo npm install node-sass
cp -r node_modules/* /opt/lamassu-machine/node_modules/
cd /opt/lamassu-machine
npm run build
supervisorctl start all