Aiming to make an intuitive starter project that utilizes popular frameworks for easy dapp development.
- migrate the contract
truffle migrate
- link contract build directory to react client
I verified the following on only MacOS and Ubuntu Linux.
# For MacOS and Linux
cd client/src
ln -s ../../build/contracts contracts
# For Windows 7, 8 and 10
# Using a Command Prompt as Admin
cd client/src
mklink \D contracts ..\..\build\contracts
- Run / build the react client
# the folling commands run in client dir
# run the client
npm run start
# build the client
npm run build