Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
22 lines (19 loc) · 1.14 KB

File metadata and controls

22 lines (19 loc) · 1.14 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Requirements (an understanding of the following)

  1. Node.js
  2. React.js
  3. Redux.js
  4. Webpack

Installation / Development

  1. Clone repository via git clone git@github.com:GetStream/stream-react-example.git
  2. In a terminal window, cd into the directory for /app and run npm install
  3. In a terminal window, cd into the directory for /api and run npm install
  4. Run npm install -g webpack nodemon
  5. Update env.sh in / with proper credentials and source the env.sh file via source env.sh
  6. Run webpack to pickup on changes in /app by running source ../env.sh; webpack --watch --progress
  7. In a terminal window, cd into the directory for /app then source ../env.sh; npm start
  8. In a terminal window, cd into the directory for /api then source ../env.sh; nodemon or source ../env.sh; node index.js
  9. Setup MySQL database with your username and password (database schema for import is located in /db)

Voila: Go to http://localhost:3000/

Note:

The app runs on port 3000 and the api runs on port 8000

Morty Proxy This is a proxified and sanitized view of the page, visit original site.