Skip to content

IBehave3/acp_research

Repository files navigation

acp_research

  • acp_research is an API built with Rust and MongoDb to store and analyze data.

Installation

Configuring API

cp default.env .env

Building and Running API

cargo build --release
cargo run --release

Connection to Test Server

ssh -i "AcpResearch.pem" [email protected]

Install Docker

Running DB for Local Development

cd {project_dir}
cp default.env .env
docker compose -f docker-compose-dev.yml up -d

Installing Diesel for Local Development

Fitbit Sense 2 App manager

All Day Data Collection Fitbit

Running on Bim lab

credentials for dev environment

  1. username: bim
  2. password: password

start docker

  1. check docker status: sudo systemctl status docker
  2. (if needed) start docker: sudo systemctl start docker

start backend

sudo docker-compose -f docker-compose-prod.yml up

stop backend

sudo docker-compose -f docker-compose-prod.yml down

check docker containers

sudo docker ps

pgAdmin connection string

postgres://internal_user:password@localhost:27017/acp_research_db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published