This repo contains the source code that powers Fari, the open source virtual tabletop platform.
If you want to make a contribution to Fari, you will need to fork / clone this repo and follow the following steps to run the app locally.
^16.2.0
(to match engine property in package.json
) or use the devcontainer provided using VS Code.Fari relies on Node and the Node Package Manager to download its dependencies and run.
If you are using the proper node and npm version, you then need to install Fari's dependencies
npm install
Once the dependencies are installed, Fari will also build some of it's static content (e.g. the content of the SRD) using 11ty which will convert the markdown files to HTML files insides a _site
directory.
If you want to run Fari on your machine, simply run:
npm run start
This will start and bundle the app using ViteJS and make it available on http://localhost:1234
ViteJS will also update your browser's content (using React Refresh) anytime you do save a file on the disk.
This will run the normal server, but also rebuild the markdown files everytime you modify them.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!