View guides, documentation and more at cloud-cnc.github.io
Note: This repository contains all files for running a core server instance. The core server is typically ran on a VPS.
- Setup a Mongo database
- Install Node Gyp (Using these instructions)
- Install dependencies via running
npm i - Generate an X509 certificate (
certificate.cer) and key (key.pem) in theconfigdirectory - Run
npm startto start the API server in production
| Name | Description |
|---|---|
coverage |
Run all unit tests and generate coverage reports |
start |
Run the server in production mode |
start:development |
Run the server in development mode |
start:docker |
Run server in production mode - logs to console instead of files (Docker containers don't actually use this command but it uses the exact same environment variables as the Docker containers) |
test |
Run unit + integration tests (E2E tests are ran from the frontend repository) |