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
, yarn
, 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.conf
or/etc/nix/nix.conf
:
experimental-features = nix-command flakes
cd
into casanix-shell -p bundix --run "bundix -l"
to update thegemset.nix
filenix develop
and 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.