Git-scm
Nodejs
ver v8.1.3- Database server (
mysql
) - etc
- Clone this repository
$ git clone ...
- Install project dependencies
npm install
- Setting up your local environment on
config/local
. The configuration values is using json type file
app.json - setup your port, host, and secret key
database.json - setup database environment
facebook.json - setup facebook webhook verification key
cms.json - setup cms varification token
- Test your local environment server. You can set your
NODE_ENV
value manually, default value islocal
node environment.
NODE_ENV=local npm start
or you can just export
your NODE_ENV
and run npm start
app/
contollers/
helpers/
kernels/
middlewares/
models/
routes/
services/
bin/
www
config/
local/
app.json
database.json
facebook.json
cms.json
security.json
staging/
production/
app.js
package.json
.gitignore
readme.md