Caster.io Truffle Starter Box¶
Use this Truffle Framework starter box with the Caster.io Blockchain track lessons.
Installation¶
- Install truffle globally
npm install truffle -g
- Unpack the box with
truffle unbox CasterIO/truffle-starter
Using Docker¶
If you encounter issues building the project locally, you can use the provided Docker image.
Note: This method will not update your Docker image each time you change the code. After every code change, you will need to redeploy your docker container using the following steps:
# deploy your Solidity contract
truffle migrate
# build the Docker image
docker build -t caster_truffle:latest .
# launch the Docker container
docker run -p 3000:3000 caster_truffle:latest