- install Rust, on Mac/Linux via
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- install docker and docker-compose
sudo apt install docker
sudo apt install docker-compose
- compile and run program
cargo build --release
./target/release/actix-postgres-crud
- build the program, than the docker image, than start it
cargo build --release
sudo docker-compose build
sudo docker-compose up