File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 66
77## Installation / Development
881 . Clone repository via
` git clone [email protected] :GetStream/stream-react-example.git ` 9- 2 . Setup MySQL database with your username and password (database schema for import is located in ` /db ` )
10- 3 . Update ` env.sh ` in ` / ` with proper credentials and source the ` env.sh ` file via ` source env.sh `
11- 4 . Run webpack to pickup on changes in ` /app ` by running ` webpack --watch --progress `
12- 5 . In a terminal window, cd into the directory for ` /app ` and run ` npm install ` then ` npm start `
13- 6 . In a terminal window, cd into the directory for ` /api ` and run ` npm install ` then ` node index.js `
14- 7 . Go to ` http://localhost:3000/ `
9+ 2 . In a terminal window, cd into the directory for ` /app ` and run ` npm install `
10+ 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 ` )
16+
17+ Voila:
18+ Go to ` http://localhost:3000/ `
1519
1620Note:
1721> The app runs on port ` 3000 ` and the api runs on port ` 8000 `
You can’t perform that action at this time.
0 commit comments