Trade solana OTC. Project to facilitate high volume solana trades over the counter.
- Make sure PostgreSQL is installed and running
- Create a test database:
createdb otc_sol_test- Set up environment variables:
export DATABASE_URL="postgres://YOUR_USERNAME@localhost:5432/otc_sol_test"
export TEST_DATABASE_URL="postgres://YOUR_USERNAME@localhost:5432/otc_sol_test"- Run database migrations:
diesel migration runRun the tests with:
cargo test -- --test-threads=1Note: Make sure you have the diesel CLI installed. If not, install it with:
cargo install diesel_cli --no-default-features --features postgres