Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregors/truffle_playground
Easy Truffle playground
https://github.com/gregors/truffle_playground
Last synced: 25 days ago
JSON representation
Easy Truffle playground
- Host: GitHub
- URL: https://github.com/gregors/truffle_playground
- Owner: gregors
- Created: 2019-02-03T20:18:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T20:38:07.000Z (almost 6 years ago)
- Last Synced: 2024-10-28T12:04:55.522Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Truffle playground
I was following [https://www.jitsejan.com/truffle-in-docker.html](https://www.jitsejan.com/truffle-in-docker.html)
but some things were outdated so I did a bit of tweaking to suit my needs```
docker compose up -d
docker ps
docker attach truffleplayground_truffle_1
truffle unbox webpack
```If you don't overwrite the truffle-config.js file
during the webpack creation steps you can skip
the next step## Set up network
ctrl p + ctrl q to detach from docker
and in the host os```
sudo vim truffle.config.js
```uncomment development and change host
```
host: "127.0.0.1",
```to
```
host: "ganache",
```## Run Tests
in docker container```
truffle test --network development
```