sudo apt-get update
sudo apt-get install snap git nano curl
Install nix if not already
sh <(curl -L https://nixos.org/nix/install) --daemon
nix --version
git --version
nano --version
sudo mkdir -p /etc/nix
sudo nano /etc/nix/nix.conf
/etc/nix / nix.conf :
substituters = https://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
git clone https://github.com/input-output-hk/plutus-apps.git
cd ~/plutus-apps
git checkout 41149926c108c71831cfe8d244c83b0ee4bf5c8a
sudo nano /etc/nix/nix.conf
/etc/nix / nix.conf :
experimental-features = nix-command flakes
Open a new terminal window:
cd ~/plutus-apps
nix-shell
From nix-shell:
cd plutus-playground-server
cabal update
plutus-playground-server
Open a new terminal window:
cd ~/plutus-apps
nix-shell
From nix-shell:
cd plutus-playground-client
cabal update
npm start
Open a new terminal window:
cd ~/plutus-apps
nix-shell
From nix-shell:
build-and-serve-docs