Coder Social home page Coder Social logo

nemo-koop's Introduction

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.

nemo-koop's People

Contributors

cooperka avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.