Sign inSign up

ethiebaut/plutus-dev

By ethiebaut

•Updated almost 5 years ago

Plutus development playground https://github.com/ethiebaut/plutus-pioneer-program-docker

Image
0

304

ethiebaut/plutus-dev repository overview

⁠plutus-pioneer-program-docker

Plutus Pioneer Program Docker environment.

Github repository: https://github.com/ethiebaut/plutus-pioneer-program-docker⁠

⁠Usage

Please note:

  • You need to have 6GB RAM free in your Docker environment, otherwise you will most likely get an error 137
  • You need about 48GB of free disk space in your Docker environment

Just run:

docker run -d -p 8009:8009 ethiebaut/plutus-dev:3746610-ba0f4f3

The3746610version number corresponds to the plutus github project tag⁠ and the ba0f4f3 tag matches the Plutus Pioneer Program tag⁠. This corresponds to the updated⁠ branch.

Docker images are available for the following version numbers:

PlutusPlutus Pioneer ProgramNotes
3746610ba0f4f3First Cohort - week 1⁠ & week 2.
* Don't forget to delete the module statement in all files for both weeks
* You'll need to replace ScriptContext by ValidatorCtx in some files
3aa8630ba0f4f3First Cohort - weeks 3-

After the image has been pulled, wait for about a minute or so for all processes to start (you can check withdocker logs) and connect to https://localhost:8009/⁠.

All embedded demo examples should work.

You can also run the English Auction Plutus Pioneer Program with this commit⁠ (don't forget to delete lines 18-30 if using Plutus 3746610).

⁠Acknowledgement / Source

Original Docker file can be downloaded from https://learning.lokdao.io/plutus-pioneer-program/week-1/setting-up-the-environment⁠.

I had to update the image as a few steps were still manual and didn't work when I tried to build the image (libsodium-dev was missing). The original code also didn't checkout a specific tag of the Plutus Pioneer Program github repository and therefore didn't work with the legacy Plutus code.

⁠Plutus Pioneer Program and Plutus documentation

Tag summary

Content type

Image

Digest

Size

4.5 GB

Last updated

almost 5 years ago

docker pull ethiebaut/plutus-dev:3aa8630-ba0f4f3