Mini-project for my Y12 Software Engingeering Major Work
This is meant to be an end-to-end encrypted messaging app based off of Signal's X3DH Key Agreement Protocol. https://signal.org/docs/specifications/x3dh/
- Install the latest version of Rust here https://rust-lang.org/tools/install/ Follow any additional steps you find there in fully setting up Rust Some useful information: https://doc.rust-lang.org/book/ch01-01-installation.html https://users.rust-lang.org/t/install-rust-error/126530
- Install postgres 18 for your platform https://www.postgresql.org/download/
- Install the sqlx-cli cargo install sqlx-cli
- Clone the repository to your favourite location
- Ensure that your current working directory is inside the root of one of the workspaces (client/server)
- For building server:
- move your current directory into
infraand ensure that you have theDATABASE_URLenvironment variable properly set in a .env at the root of theinfracrate - Ensure that the database is running
- run
sqlx migrate runin the terminal - move your current directory back to the root of server
- run
cargo run --releasein the terminal
- move your current directory into
- build and run program (cargo run --release) for each workspace
- Enjoy (if it works)
I never finished this project so it doesn't work