Marlowe Pioneer
 
w0708a_setup
20220727

Useful

Setting up the env

On a linux machine using /u01/marlowe as the root directory of my marlowe installation.

Nix

Setup nix (see https://nix.dev/tutorials/install-nix), and then ensure the nix cache is setup with /etc/nix/nix.conf having these lines:

substituters        = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

(after the change, you may need to restart, if you have a multi-user nix: sudo systemctl restart nix-daemon)

Clone marlowe-cardano from github

Do this only once.

cd /u01/marlowe
git clone https://github.com/input-output-hk/marlowe-cardano.git
cd marlowe-cardano
git checkout marlowe-pioneers
nix-shell

If env already setup

Startup up one terminal for the cardano-node, and (at least) one terminal to execute commands.

Startup the node in one terminal window

cd /u01/marlowe/marlowe-cardano
nix-shell
start-cardano-node 

Startup another terminal to do work in

ssh your_linux_vm 
cd /u01/marlowe/marlowe-cardano
nix-shell

# .. and then 'cd' to your work directory, like this one: 
cd /u01/marlowe/20220727_708_backend
 
Notes by wmoco. Generated on momo:/home/willem/sync/20220806_wmoco_pubcoms/20220806_marlowe_pioneer at 2023-06-14 18:32