Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 843 Bytes

File metadata and controls

39 lines (28 loc) · 843 Bytes

#Canadian Teacher's Portal

##Install instructions

Required Packages

mySQL Node 4.X

###Getting Started

 $ git clone https://github.com/afmartin/CMPT315--CTP.git

Create a mySQL database and specify the name of the database, authorized username, password and the host inside of the db_config.json for the required environment(s)

Enter a string for token encryption into the file config.json

$ make test|development|production

Note - If you are running the test suites please ensure the server is running first. For example;

 $ npm install && NODE_ENV=test npm start

and then in a new process

 $ make test

Note it is highly recommended that you use different databases for test, development and production

Warning if tests are run all documents will be deleted from the server