TAGS

tutorialtoken-box

CREATED

UPDATED

STARS

INSTALL

...

REPOSITORY
GitHub Download
Please wait: Fetching readme...

b"# TutorialToken Truffle Box\n\nThis box has all you need to get started with our [Open Zeppelin (TutorialToken) tutorial](http://truffleframework.com/tutorials/robust-smart-contracts-with-openzeppelin).\n\n## Installation\n\n1. Install Truffle globally.\n ```javascript\n npm install -g truffle\n ```\n\n2. Download the box. This also takes care of installing the necessary dependencies.\n ```javascript\n truffle unbox tutorialtoken\n ```\n\n3. Run the development console.\n ```javascript\n truffle develop\n ```\n\n4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with `truffle`.\n ```javascript\n compile\n migrate\n ```\n\n5. Run the `liteserver` development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.\n ```javascript\n // Serves the front-end on http://localhost:3000\n npm run dev\n ```\n\n**NOTE**: This box is not a complete dapp, but the starting point for the [Open Zeppelin (TutorialToken) tutorial](http://truffleframework.com/tutorials/robust-smart-contracts-with-openzeppelin). You'll need to complete that for this to function.\n\n## FAQ\n\n* __How do I use this with the EthereumJS TestRPC?__\n\n It's as easy as modifying the config file! [Check out our documentation on adding network configurations](http://truffleframework.com/docs/advanced/configuration#networks). Depending on the port you're using, you'll also need to update line 16 of `src/js/app.js`.\n"