TBD
It is recommended to use Nix with Flakes for development. If you have Nix
installed, you can simply run nix develop to enter a development environment
with all the necessary dependencies.
If you don't have Nix available, then you'll need to manually get these dependencies:
Then run poetry shell to enter the Python development environment. Again,
nix develop automatically does this for you.
Once you have the development environment set up, you can run the following commands:
poetry install --no-root # install backend dependencies
npm install # install frontend dependencies
foreman start # start the development serverIn order for the game to fully be functional, you need to add the Unity WebGL build into the project.
- Build the Unity project to WebGL. This will create a
Builddirectory in the Unity project. - Copy the contents of the
Builddirectory into thefrontend/gamedirectory. You should be copying.brand.jsfiles. - Start up the server as usual.