- acp_research is an API built with Rust and MongoDb to store and analyze data.
- Tested using Ubuntu LTS 22.04
- Use the rust book guide https://doc.rust-lang.org/book/ch01-01-installation.html#installation
cp default.env .env
cargo build --release
cargo run --release
ssh -i "AcpResearch.pem" [email protected]
cd {project_dir}
cp default.env .env
docker compose -f docker-compose-dev.yml up -d
- username: bim
- password: password
- check docker status:
sudo systemctl status docker
- (if needed) start docker: sudo systemctl start docker
sudo docker-compose -f docker-compose-prod.yml up
sudo docker-compose -f docker-compose-prod.yml down
sudo docker ps
postgres://internal_user:password@localhost:27017/acp_research_db