TAGS

limelabs-angular-box

CREATED

UPDATED

STARS

INSTALL

...

REPOSITORY
GitHub Download
Please wait: Fetching readme...

b"This is a fork from Quintor:\n\nI've added:\n- SCSS instead of CSS\n- Upgraded the typescript as I love async/await\n- Added bootstrap 3\n- Added Axios\n\nEverything below is the same as in Quintors Box\n\n# Truffle Box for Angular\n\nThis Truffle Box provides a base for working with the Truffle Framework and Angular.\nIt provides a basic working example of the MetaCoin contracts with Angular components.\nThis project is generated with [Angular CLI](https://cli.angular.io/).\n\n## Building\n\n1. Install truffle, Angular CLI and an Ethereum client. If you don't have a test environment, we recommend Ethereum TestRPC\n ```bash\n npm install -g truffle\n npm install -g @angular/cli\n npm install -g ethereumjs-testrpc\n ```\n\n2. Download the box.\n ```bash\n truffle unbox LimelabsTech/angular-truffle-box\n ```\n\n3. Run your Ethereum client. For TestRPC:\n ```bash\n testrpc\n ```\nNote the mnemonic 12-word phrase printed on startup, you will need it later.\n\n4. Compile and migrate your contracts.\n ```bash\n truffle compile && truffle migrate\n ```\n\n## Running\n\n1. Run the app using Angular CLI:\n ```bash\n ng serve\n ```\nThe app is now served on localhost:4200\n\n2. Connect to it by opening it in your browser and configuring MetaMask with the 12-word phrase from TestRPC.\n\n3. Send MetaCoins!\n\n## Testing\n\n1. Running the Angular component tests:\n ```bash\n ng test\n ```\n\n2. Running the Truffle tests:\n ```bash\n truffle test\n ```\n\n3. Running Protactor end-to-end tests\n\n ```bash\n ng e2e\n ```\n## Releasing\nUsing the Angular CLI you can build a distributable of your app. Will be placed in `dist/`\n\n ```bash\n ng build\n ```\n\n## FAQ\n\n* __Where can I find more documentation?__\n\nThis Truffle box is a union of [Truffle](http://truffleframework.com/) and an Angular setup created with [Angular CLI](https://cli.angular.io/).\nFor solidity compilation and Ethereum related issues, try the [Truffle documentation](http://truffleframework.com/docs/).\nFor Angular CLI and typescript issues, refer to the [Angular CLI documentation](https://github.com/angular/angular-cli/wiki)\n"