Skip to content

Developing Streetlives

Jacob Beard edited this page May 18, 2018 · 1 revision

Here is how to get started developing the Streetlives mobile web application:

  1. Get the client and server:
git clone https://github.com/streetlives/streetlives-api
git clone https://github.com/streetlives/streetlives-web
  1. Prepare and start the server

See https://github.com/streetlives/streetlives-api/blob/develop/README.md for information on how to set up and run the server. At a minimum, you must do:

cd streetlives-api
npm install
PORT=3001 npm run dev
  1. In a separate terminal, prepare and start the web app:
cd streetlives-web
npm install
REACT_APP_API_URL="http://<YOUR_PUBLIC_IP_ADDRESS>:3001" npm start
  1. Navigate to http://<YOUR_PUBLIC_IP_ADDRESS>:3001 on your mobile device or in your browser to load the web application.
Clone this wiki locally