This tutorial will guide you through the process of installing FoodCoopShop on the latest version of NixOS.
Before proceeding, ensure that you have the following:
Ensure that your NixOS system is up to date by running the following command:
sudo nixos-rebuild switch
Next, enable the NixOS unstable channel using the following command:
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
sudo nix-channel --update
Now, install FoodCoopShop using the nix package manager by running the following command:
sudo nix-env -iA nixos.foodcoopshop
After installation, navigate to the FoodCoopShop configuration directory using the following command:
cd /etc/foodcoopshop
Next, create a new configuration file using the following command:
sudo touch config.inc.php
Finally, open the configuration file using your favorite text editor and add your desired settings.
To start the FoodCoopShop service, run the following command:
sudo systemctl start foodcoopshop
Access the FoodCoopShop web interface by opening a browser and navigating to http://localhost:3000.
Congratulations, you have successfully installed FoodCoopShop on the latest version of NixOS!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!