This repository is the original repository for WE1S GeoD designed and developed by Dan Baciu, Sihwa Park and Xindi Kang. Please refer to the related article, Cultural life: Theory and empirical testing (Dan C.Baciu, 2020), for detail.
In a terminal window:
git clone https://github.com/sihwapark/we1s-geod.git
Or download a ZIP file from https://github.com/sihwapark/we1s-geod/archive/master.zip and unzip it.
By using a pre-built installer:
(macOS) By using homebrew
in Terminal:
brew install node
Move into the root folder of the we1s-geod code, open a terminal window and enter the below command.
npm install
In the root folder of the we1s-geod code, create and open .env
file in a text editor. And write below environment variabels and save the file.
#Set your Google Maps API Key
GOOGLE_MAPS_API_KEY=YOUR_API_KEY
#Set a port number you will use in a browser
PORT=5000
node app.js
Or
npm start
Open a browser and enter http://localhost:5000/.