Skip to content

Commit a50a128

Browse files
Update install.md
1 parent 03b1bfc commit a50a128

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

install.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
1. Clone repository via `git clone [email protected]:GetStream/stream-react-example.git`
99
2. In a terminal window, cd into the directory for `/app` and run `npm install`
1010
3. In a terminal window, cd into the directory for `/api` and run `npm install`
11-
4. Update `env.sh` in `/` with proper credentials and source the `env.sh` file via `source env.sh`
12-
5. Run webpack to pickup on changes in `/app` by running `webpack --watch --progress`
13-
6. In a terminal window, cd into the directory for `/app` and run `npm install` then `npm start`
14-
7. In a terminal window, cd into the directory for `/api` and run `npm install` then `node index.js`
15-
8. Setup MySQL database with your username and password (database schema for import is located in `/db`)
11+
4. Run `npm install -g webpack nodemon`
12+
5. Update `env.sh` in `/` with proper credentials and source the `env.sh` file via `source env.sh`
13+
6. Run webpack to pickup on changes in `/app` by running `source ../env.sh; webpack --watch --progress`
14+
7. In a terminal window, cd into the directory for `/app` then `source ../env.sh; npm start`
15+
8. In a terminal window, cd into the directory for `/api` then `source ../env.sh; nodemon` or `source ../env.sh; node index.js`
16+
9. Setup MySQL database with your username and password (database schema for import is located in `/db`)
1617

1718
Voila:
1819
Go to `http://localhost:3000/`

0 commit comments

Comments
 (0)