-
Notifications
You must be signed in to change notification settings - Fork 7
Developing Streetlives
Jacob Beard edited this page May 18, 2018
·
1 revision
Here is how to get started developing the Streetlives mobile web application:
- Get the client and server:
git clone https://github.com/streetlives/streetlives-api
git clone https://github.com/streetlives/streetlives-web
- 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
- 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
- Navigate to
http://<YOUR_PUBLIC_IP_ADDRESS>:3001
on your mobile device or in your browser to load the web application.