Skip to content

Commit

Permalink
Merge pull request #700 from BIDMCDigitalPsychiatry/mc-update-db-prereq
Browse files Browse the repository at this point in the history
Add MongoDB support & testing instructions
  • Loading branch information
avaidyam authored Oct 26, 2022
2 parents cafb48d + 21226d7 commit 806cde6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/07-deploy/01-prereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ There are different ways for your organization to self-deploy the LAMP Platform,
**Backend**

- **Database**
- The noSQL database used for modern sensor data collection is CouchDB, but currently for legacy data support, Microsoft SQL Server must also be configured as part of deployment.
- The noSQL databases used for modern sensor data collection are CouchDB and MongoDB.
- Data backup must be manually configured as different organizations will expect different sizes and frequency of data storage, along with variance in data policies.
- These database components are not built or maintained as part of the LAMP Platform but are required for its usage.
- **Server**
Expand Down
7 changes: 6 additions & 1 deletion docs/07-deploy/08-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ Once you've deployed the `LAMP-server` and `LAMP-database`, you'll be able to us

All data is encrypted before communication between your browser or the app to and from your newly deployed server. No data will be communicated with any other server, including the default API server at [api.lamp.digital](http://api.lamp.digital) or other third party services.

1. Verify the status of the CouchDB database.
1. Verify the status of the database.

```bash
curl -k https://admin:[email protected]/
```
or
```bash
mongo 'mongodb://username:password@databaselocation:port/databasename'
```
If the `mongo` command cannot be found, you can also try `mongosh`

2. Verify the status of the LAMP Platform API Server.

Expand Down

0 comments on commit 806cde6

Please sign in to comment.