Skip to content

sassafrastech/nemo-koop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koop for NEMO

Created using the Koop CLI template. See the specification for more details.

Production

Provision a brand new server

Locally (not on the server):

  1. Edit the host in ecosystem.config.js if needed
  2. Set up your DNS to point to the new server
  3. Run yarn run provision
  4. Run yarn run deploy

On the server...

In the app directory (current/):

  1. Run yarn run pm2 startup, and copy the command it outputs

As root:

  1. Paste the command copied above
  2. Set up nginx or some other software to serve the website (see NEMO's prod setup guide for an example)

In the app directory (current/):

  1. yarn run serve
  2. yarn run pm2 save to commit the app to start automatically on server reboot

Deploy regular updates

Locally (not on the server):

  1. Push any new commits
  2. Run yarn run deploy

Monitoring

In the server app directory (current/):

  1. yarn run pm2 status to check if what's running

Development

Tip: When developing locally, link the Provider so you don't need to keep reinstalling it:

cd koop-provider-nemo
yarn link
cd ../nemo-koop
yarn link koop-provider-nemo

Dev Server

This project uses the Koop CLI to set up the dev server:

yarn start

The server will be running at http://localhost:8080 or at the port specified at the configuration.

For more details, check the Koop CLI documentation.

About

A Koop server for NEMO (ArcGIS GeoJson)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published