/ava

Primary LanguageJavaScript

ava

How to install:

#firstly
npm i

#then
node init.js #initializes the database (can only be run if TEST=1)
node generateTemplates.js #generates all the templates
node app.js #runs the server instance

#for testing
node test.js #runs the automated tests (can only be run if TEST=1)

WARNING:

WARNING: DO NOT LET YOUR PRODUCTION HAVE TEST=1 IN ENV VARS !!