Skip to content

Get-Your-GreenBack-Tompkins/gygb-admin-web

Repository files navigation

GYGB Tompkins: Admin Web Panel

Setup

  1. Install Node with Node Version Manager:

After installing set your Node version to be "v12"

nvm install v12
nvm use v12
  1. Install dependencies.
# Execute *in* the project directory.
npm install

Running Locally

# Runs a development server!
npm run start

Https Proxy

To test and develop authentication, you must run the panel over HTTPS.

To do so first configure the HTTPS proxy:

./configureHttps.sh

Next run the HTTPS proxy:

./runHttps.sh

Now the client is accessible over HTTPS at https://localhost:3003 as long as npm run start is running.

Build for production

# Build for production
npm run build