This script sets up the FoundryVTT Dedicated Server software https://foundryvtt.com/ to run as a service on a Raspberry Pi running the Raspberry Pi operating system.
It has been tested on a Raspberry Pi 4 with 8 GB of RAM running the Raspberry Pi 'Bullseye' release.
To begin, clone this repository by running git clone https://github.com/pkarjala/foundryvtt-rpi-install.git
To run, navigate to the directory where you have cloned down the repo, and run the script by typing
setup-foundry-vtt.sh
The user may optionally supply the filename of the .ZIP file for the FoundryVTT linux install file, and the script will automatically expand the file in the requisite directory.
setup-foundry-vtt.sh -i FoundryVTT.zip
For help, run setup-foundry-vtt.sh --help
Please leave any feedback or bugs using the Issues tab on Github. Pull requests are welcome for enhancements.
This script installs and creates the following:
- Node.js current LTS version
- A service script at
/etc/systemd/system/foundryvtt.service
- The directory
/opt/foundry/
which contains thefoundryvtt
andfoundrydata
folders. - A service user,
foundry
, which is used to run the server.
0.2 - Change default NodeJS version from 18.x to 20.x
0.1 - Initial Release