Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.53 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.53 KB

Ausgaben

Build Status Codacy Badge Code Climate Dependency Status Codacy Badge

Set up

# Install dependencies
npm install
# Create database
sudo su postgres
createdb ausgaben
psql
CREATE USER ausgaben;
ALTER ROLE ausgaben WITH PASSWORD 'password';
CREATE DATABASE ausgaben;
GRANT ALL PRIVILEGES ON DATABASE ausgaben TO ausgaben;
# Init database
node server/console.js sequelize:schema:sync
# To reset the database
sudo -u postgres /bin/bash -c 'dropdb ausgaben; createdb ausgaben' && node server/console.js sequelize:schema:sync

Run tests

npm test

Run the app

make
npm run dev-server

E-Mail sending

Emails are sent via node-templater-mailer-microservice. To setup up the service, run

node server/console.js config:templatemailer