Home

Awesome

CAMS

This repo relates to CAMS (Critical Asset Management System) and the project UI. It is where the magic happens, report bugs, submit features, and see the current workload here.

CAMS is an open-source project dedicated to helping nations, communities, cities, and people become disaster resilient. We want to enable people to plan for disasters so they can rebuild faster and save lives. It is a mobile and desktop application that users can securely access to learn more about their critical assets and the potential failure chains associated with each.

CAMS Technology

CAMS is built with TerminusDB, the TerminusDB UI SDK, and React, the popular JS library. The maps are OpenStreetMap. JSON is the data-interchange format. TerminusDB is a document-oriented graph database that links JSON documents in a knowledge graph through a document API. The Document UI SDK builds the UI directly from documents in the database.

Contributions

If you’re interested in contributing, here is the contributions guide

This repo features the front end code, it includes:

For more information about the full project, please visit the CAMS Repo.

LOCAL INSTALL

Getting started locally with the Miami demo (fastest way to get started)

Step 1.

Be sure to install Docker and the docker-compose plugin.

Step 2.

Copy env.default to .env.

Step 3.

Run docker compose up or alternatively docker-compose up.

You might need root access depending on whether your user has been added to the Docker group, or you can use sudo, for instance: sudo docker compose up.

Step 4.

Visit localhost:3036/Miami in your browser.

These steps will get you up and running and will allow you to contribute to CAMS.

TERMINUSCMS INSTALL

Getting started for online teams.

Step 1 - TerminusCMS

TerminusCMS, which is a hosted content management system built on TerminusDB, is used as the database back-end to store the critical assets.

Step 2 - Clone CAMS Dashboard repo CAMS-Dashboard

Step 3: Set up ENV for TerminusX

Step 4 - Run development environment (NodeJS locally)

Run inside the CAMS-dashboard directory: