From cf9a0777eeab0b2d186f946336e30e9f94a15fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sof=C3=ADa=20Aritz?= Date: Fri, 15 Dec 2023 19:54:09 +0000 Subject: [PATCH] Update ayb/commands.md --- ayb/commands.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ayb/commands.md b/ayb/commands.md index 74e99c5..4308a03 100644 --- a/ayb/commands.md +++ b/ayb/commands.md @@ -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` \ No newline at end of file + * **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`. \ No newline at end of file