https://github.com/FAIMS This repository is here to contain a deployment script for FAIMS and any other file that are necessary for installation
The script can be used to install FAIMS conductor onto a raspberry pi or within a virtual machine. The only difference between them is the install of nodejs. Versions >12 are not available for x86 architectures while running debian.
Instructions
- sudo git clone https://github.com/Br00xx/FAIMS-Thesis
- cd FAIMS-Thesis
- sudo chmod +x vmScript.sh while running in virtual machine or chmod +x rpiScript.sh for raspberry pi
- sudo su
- ./vmScript.sh or ./rpiScript.sh
Machine will restart and start conductor on start-up The following part will only need to be completed the first time it's launched
- cd /opt/FAIMS-conductor
- sudo npm run initdb
- systemctl restart StartConductor.service
- Go to Conductor URL and login
- Go to main page and get the Bearer Token
- Paste the token in .env file after USER_TOKEN=
- sudo npm run load-notebooks
FAIMS3 will also be installed. To get that running
- navigate to /opt/FAIMS3
- open terminal here
- sudo npm start