Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 740 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 740 Bytes

notMAIL server node

Developing and Running Instructions (DOCKER)

git clone https://github.com/notmail/notmail_server_node && cd notmail_server_node
docker-compose build
docker-compose up

Developing and Running Instructions (DOCKER-LESS)

  1. git clone https://github.com/notmail/notmail_server_node && cd notmail_server_node
  2. replace mongo by localhost for docker-less setup in config.json
  3. npm install
  4. Start mongo database (mongod &, systemctl service start mongod, ... ...)
  5. npm start

config.json defaults

{
    "port":          6060,
    "endpoint":      "/notmail_api",
    "dev":           true,
    "json_prettify": true,
    "db_url":        "mongodb://mongo/notmail"
}