Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.1 KB

README.md

File metadata and controls

53 lines (44 loc) · 1.1 KB

Augur.world

World map for flood risk and precipitation event prediction

Tooling Info

Preperation

  • Install nodeJS https://nodejs.org/
  • Install yarn package manager via npm (bundled with nodeJS)
npm install --global yarn

Installation

  • Clone Augur Repository
cd myDir
git clone `https://github.com/jahugg/augur.world.git`
  • cd into directory and install dependencies
cd myDir
yarn install

Set environment variables

  • create .env file in myDir/client directory with desired SERVER URL variable

example: SERVER=http://localhost:3000

  • create .env file in myDir/server directory with corresponding PORT variable

example: PORT=3000

Run Application

  • Start Client
cd myDir/client
yarn start
  • Start Server
cd myDir/server
yarn nodemon server.js

Open Application

Open your Web browser and go to http://localhost:1234/