Giter Site home page Giter Site logo

plutus-vm's Introduction

Plutus VM (Ubuntu Based)

Plutus Pioneer Program

Vagrant + VBox for plutus playground

Prerequisites

  1. Obtain & Install Vagrant from the Official Source
  2. Obtain & Install VirtualBox from the Official Source
  3. Reboot

Installation

  • Navigate to a directory of your choice and do
git clone https://github.com/edwint88/plutus-vm plutus-vm
  • Navigate to inner-folder called vagrant.
cd plutus-vm/vagrant/
  • In the Vagrantfile directory run & wait for provisioning to finish:
vagrant up
  • When it finished provisioning, open TWO terminal windows and run in each (alternative run tmux in one terminal):
vagrant ssh
  • In Terminal Window 1:
cd /home/vagrant/plutus/git/plutus
nix-shell
cd plutus-playground-client
plutus-playground-server -i 120s
  • In Terminal Window 2:
cd /home/vagrant/plutus/git/plutus
nix-shell
cd plutus-playground-client
npm run start

Update and recompile Plutus-playground for a running VM

Go to cd /home/vagrant/plutus/git/plutus => run git pull => run update /bin/bash ../updatePlutus.sh

Tips & Tricks

  1. If you need ghc or cabal you can enter a folder with default.nix and run nix-shell over there and then change to your directory where you need to run cabal. E.g. cd /home/vagrant/plutus/git/plutus => nix-shell => cd ../plutus-pioneer-program/code/week1 => cabal build
  2. If you want to use auto-complete function, then enter nix-shell as above and then run vim. (This doesn't work with vscode). You could open a Terminal window in vscode and run vim from there.

plutus-vm's People

Contributors

edwint88 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.