You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,23 @@ All truffle boxes come with Truffle, Webpack and React. This box adds react-rout
10
10
npm install -g ethereumjs-testrpc
11
11
```
12
12
13
-
2.Clone or download the truffle boxof your choice.
13
+
2.Download box.
14
14
```javascript
15
-
git clone [repo]
15
+
truffle unbox truffle-box-auth
16
16
```
17
17
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.
24
19
```javascript
25
20
truffle compile
26
21
truffle migrate
27
22
```
28
23
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.
30
25
```javascript
31
26
npm run start
32
27
```
33
28
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.
35
30
```javascript
36
31
// Runs Jest for component tests.
37
32
npm run test
@@ -40,7 +35,7 @@ All truffle boxes come with Truffle, Webpack and React. This box adds react-rout
40
35
truffle test
41
36
```
42
37
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.
0 commit comments