Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.41 KB

File metadata and controls

51 lines (35 loc) · 1.41 KB

March for Science

Grassroots Management System

Infrastructure

Data Layer RethinkDB

API Layer LoopBack

Web Client Ember

Getting Set Up

Ensure the following is installed on your system before starting.

  • Install Loopback CLI: npm install -g loopback-cli
  • Install Ember CLI: npm install -g ember-cli
  • NPM Install: npm install

Create a Google Cloud Platform service account and grant it the Cloud Datastore User role. Save the secret key as datastore-secret-key.json in the marchforscience project directory.

Create an .env file in the marchforscience project directory and populate it with the approprate values.

# Node Process Settings
NODE_ENV=development
NODE_SESSION_SECRET=

# Amazon S3 Configuration
S3_BUCKET=
S3_REGION=
S3_SECRET=
S3_KEY=

# Google Cloud Platform Configuration
GOOGLE_PROJECT_ID=
GOOGLE_SERVICE_ACCOUNT=

Getting Started

In two separate terminal tabs:

  • Start the API server: npm run server
  • Start the Ember client: npm start

The web app will be accessible at http://localhost:4200/

The API explorer will be accessible at http://localhost:4000/explorer

The database explorer will be accessible at http://localhost:8080/