Skip to content

Commit 4159c93

Browse files
committed
Update README to use truffle unbox command
1 parent a2d1965 commit 4159c93

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,23 @@ All truffle boxes come with Truffle, Webpack and React. This box adds react-rout
1010
npm install -g ethereumjs-testrpc
1111
```
1212

13-
2. Clone or download the truffle box of your choice.
13+
2. Download box.
1414
```javascript
15-
git clone [repo]
15+
truffle unbox truffle-box-auth
1616
```
1717

18-
3. Install the node dependencies.
19-
```javascript
20-
npm install
21-
```
22-
23-
4. Compile and migrate the contracts.
18+
3. Compile and migrate the contracts.
2419
```javascript
2520
truffle compile
2621
truffle migrate
2722
```
2823

29-
5. Run the webpack server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.
24+
4. Run the webpack server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.
3025
```javascript
3126
npm run start
3227
```
3328

34-
6. Jest is included for testing React components and Truffle's own suite is incldued for smart contracts. Be sure you've compile your contracts before running jest, or you'll receive some file not found errors.
29+
5. Jest is included for testing React components and Truffle's own suite is incldued for smart contracts. Be sure you've compile your contracts before running jest, or you'll receive some file not found errors.
3530
```javascript
3631
// Runs Jest for component tests.
3732
npm run test
@@ -40,7 +35,7 @@ All truffle boxes come with Truffle, Webpack and React. This box adds react-rout
4035
truffle test
4136
```
4237

43-
7. To build the application for production, use the build command. A production build will be in the build_webpack folder.
38+
6. To build the application for production, use the build command. A production build will be in the build_webpack folder.
4439
```javascript
4540
npm run build
4641
```

0 commit comments

Comments
 (0)