-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from nstankov-bg/initial-collection
Initial Collection
- Loading branch information
Showing
4 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
* [MacOS](/docs/setup/MacOS.md) | ||
* [Vagrant(VM)](/docs/setup/Vagrant.md) | ||
* [Ubuntu OS](/docs/setup/Ubuntu.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Ubuntu setup for Plutus Playround | ||
|
||
## Steps | ||
|
||
* Cone plutus repo from [here](https://github.com/input-output-hk/plutus) | ||
* From terminal do the following: | ||
|
||
```ssh | ||
sudo mkdir -p /etc/nix/ | ||
mkdir -p ~/.config/nix | ||
sudo touch /etc/nix/nix.conf | ||
touch ~/.config/nix/nix.conf | ||
``` | ||
|
||
* Paste the following in `~/.config/nix/nix.conf` and `/etc/nix/nix.conf` | ||
|
||
```ssh | ||
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= | ||
``` | ||
|
||
* Navigate to the Plutus folder (from the Git Clone in Step 1) and paste this: | ||
|
||
```ssh | ||
nix build -f default.nix plutus.haskell.packages.plutus-core | ||
``` | ||
|
||
* Open two terminal windows. | ||
* In terminal window 1 (from the root of the Plutus project): | ||
|
||
```ssh | ||
nix-shell | ||
cd plutus-playground-server | ||
plutus-playground-server | ||
``` | ||
|
||
* In terminal window 2 (from the root of the Plutus project): | ||
|
||
```ssh | ||
nix-shell | ||
cd plutus-playground-client | ||
npm run start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters