Every Wednesday. A map application to help users find the nearest overdose prevention centre.
- NPM & NodeJs @ latest version (https://nodejs.org/en/)
- Run
npm install -g expo-cli
- Install the Expo mobile app on your device
- React-Native - Render interface.
-
Clone repo
-
Run
npm install
-
Install
pre-commit
Mac Users -->
Install homebrew and runbrew install pre-commit
Runpre-commit install
Windows Users -->
Install the latest Python (3.7) executable file from https://www.python.org/downloads/
Install pipcurl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Runpython get-pip.py
Runpip install pre-commit
Runpre-commit install
-
Login to Expo by running
expo login
and follow the instructions to enter username and password -
Run
npm start
-
Assuming you have logged in to Expo on your Expo mobile app, go to the "projects" tab. You should see your app serving from your computer
- Expo app says the app is taking longer than expected to load
- Open up computer terminal and run:
ipconfig
for Windows.ifconfig
for Mac - Check to see if your IP is the same as the one Expo used (Expo shows the IP after you ran
npm start
) - If not, try to follow this link for Windows
- Open up computer terminal and run:
This project is licensed under the MIT License.