Nix
If you have Nix installed you can use the flake.nix
configuration file located at the root of the project to build and develop within an environment
without needing to install rvm, nodejs, postgresql or other tools separately.
The environment also uses the gemset.nix file to automatically download and install all the gems
necessary to get the server up and running:
- Install Nix
- Add the following to
~/.config/nix/nix.confor/etc/nix/nix.conf:
experimental-features = nix-command flakes
cdinto casanix-shell -p bundix --run "bundix -l"to update thegemset.nixfilenix developand wait for the packages to be downloaded and the environment to be built
Then you can setup the database and run the server. This will run on Linux and macOS.