Update ayb/commands.md

This commit is contained in:
Sofía Aritz 2023-12-15 19:54:09 +00:00
parent aa1d9de406
commit cf9a0777ee

View file

@ -3,5 +3,9 @@
Basic commands for ayb development
* SMTP server: `./tests/smtp_server.sh 10026`
* Run ayb server: `cargo run -- server`
* Only run SQLite tests: `cargo test client_server_integration_sqlite -- --exact`
* **Note:** You need to create the `cert.pem` and `key.pem` files.
* Run `openssl req -nodes -new -x509 -keyout ./tests/smtp_data_10026/key.pem -out ./tests/smtp_data_10026/cert.pem`.
* What you input doesn't really matter, I normally use `AQ` and `Antartica`.
* **Note:** You need `openssl` installed in your system to run the command (you need `openssl-devel` anyway to build ayb).
* Run ayb server: `cargo run -- server`.
* Only run SQLite tests: `cargo test client_server_integration_sqlite -- --exact`.