First, install environment:
Create application folder /cinema
.
Clone application boilerplate repository into it
or download and unzip archive.
Go to the application folder and install dependency packages:
cd /cinema
npm install
Open application configuration file and change component settings:
config/default.js
module.exports = {
title: 'Cinema',
components: {
'db': {
settings: {
'database': process.env.MONGO_NAME || 'evado-cinema',
}
},
'cookie': {
secret: 'cinema.evado'
},
'session': {
secret: 'cinema.evado'
},
...
},
...
};
Set the environment variable NODE_ENV=development
.
Then install and start:
node console/install
node console/start
The app will be launched at http://localhost:3000
.
Login data:
a@a.a
123456