- Clone this git repo into an empty folder on your machine:
$ git clone https://github.com/timolex/BClotteryEther.git .
- As some files are not present in the repo due to the auto-generated
.gitignore(from gitignore.io), it's necessary to unbox Drizzle again locally:
$ truffle unbox drizzle
Several overcautious prompts will ask you if you really want to overwrite several files / directories, which you all may delightfully confirm with y + ↵ (why? -> see 3.).
- As soon as the Drizzle box was successfully set up, please reset the master branch:
$ git reset --hard
This will restore all SC-related files messed with during unbox.
-
Please run
$ truffle compileand resolve occasional errors :) . -
At this point, you should be good to go for using the Bash script
tujamigrate.sh, which allows for automatically resetting the JSONs inapp/src/contracts(as recommended by @jonixis) and runningtruffle migrate --reset. This script can be used from now on after every time the smart contracts have been modified. Please run this script as follows:./tujamigrate.sh