More informations in the original repository: https://github.com/GridSpace/grid-apps
and here: https://grid.space/kiri/
Donations to the original creator go to: https://www.paypal.com/paypalme/gridspace3d?locale.x=en_US
More informations on iFactory3D and Beltprinters: https://ifactory3d.com/
git clone https://github.com/martinjohuber/grid-apps
cd grid-apps
docker compose -f src/dock/compose.yml up
Check your node version and npm version, mine is for example:
npm -v
9.2.0
node -v
v18.19.0
git clone https://github.com/martinjohuber/grid-apps
cd grid-apps
npm i
sudo npm install -g @gridspace/app-server
gs-app-server --debug
to start a local instance of the apps. then use a browser to open localhost:8080/kiri
Alternatively, if you are using a packaged version of npm that ships with a Linux distribution, but still want to install in your home directory, you can use npm config set prefix ~/.local
If gs-app-server is not found, then perhaps ~/.local/bin is not in your path. You can either add it to your path, or you can run: ~/.local/bin/gs-app-server --debug
You can now access your environment of grid-apps by going to localhost:8080/kiri
Other Start Options
gs-app-server
serves code as obfuscated, compressed bundles. this is the mode used to run on a public web site.
requires node.js 12+
sudo npm install pm2 -g
startup service einrichten (autostart on reboot)
pm2 startup
You have to run this command as root. Execute the following command:
sudo su -c "env PATH=$PATH:/home/unitech/.nvm/versions/node/v14.3/bin pm2 startup -u --hp
Navigate to the grid-apps folder:
pm2 start gs-app-server
Last but not least save the app list to restart on reboot
pm2 save