Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Latest commit

 

History

History
61 lines (40 loc) · 919 Bytes

README.md

File metadata and controls

61 lines (40 loc) · 919 Bytes

Travel Funds

Build Status

Setup

npm install
npx lerna bootstrap

Development

npm run dev:backend
npm run dev:frontend

Setting up MailHog is highly recommended for local email delivery testing: https://github.com/mailhog/MailHog

CAS in development

You can set the CAS_DEV_USER in .env to your NetID to automatically have your account logged in without needing to use the CAS system.

Deploying to production

Change to deployment directory

cd /var/www/travelfunds.core.uconn.edu

Pull changes

git pull

bootstrap lerna

npx lerna bootstrap

Run build

npm run build

Migrate DB

NODE_ENV=production npx sequelize db:migrate

Reload pm2

pm2 reload travelfunds