If you don't already have an account, you can create one for free.
-
Sign in to your PubNub Admin Dashboard, click Create New App for PubNub Chat and give your app a name.
-
Select your new app, then click its keyset.
-
Locate the Publish and Subscribe keys. You'll need these keys to include in this project.
-
Clone the GitHub repository.
git clone git@github.com:lukehuk/geolocation-experiments.git
-
Install the project.
cd geolocation-experiments/react npm install -
Run init.sh script to remove any running Docker containers and start containers required for this application.
cd docker ./init.sh -
Run the project in your local environment. You may be asked to input your PubNub keys and populate sample data if you are running the app for the first time.
cd ../ npm start
Open http://localhost:3001 to view it in the browser.