Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.03 KB

INSTALLATION.md

File metadata and controls

23 lines (22 loc) · 1.03 KB

First installation instructions.

Mongodb

Install mongodb according to the specific instructions of your OS/distribution in the website https://docs.mongodb.com/master/administration/install-community/.

Database initialization.

Enter mongo shell through the following terminal command. Alternatively you may choose to run mongo as a service in that refer to the mongo documentation.

mongo

Create the database used by the application through the following command in mongo shell.

use summer-schools

Running the application for the first time.

Open up a fresh terminal and run the application with the following command.
The application can be run as a service depending on your operating system the method may vary.

(note: npm and nodejs are prerequisites for running)

npm start

The application should let you login now using any non empty username and password.
Navigate to the options page and add a new ADMIN user.
Restart the server so the auto login feature is disabled.