diff --git a/ayb/commands.md b/ayb/commands.md index 2f2c6b0..4dc4f00 100644 --- a/ayb/commands.md +++ b/ayb/commands.md @@ -5,9 +5,13 @@ Basic commands for ayb development * SMTP server: `./tests/smtp_server.sh 10026` * **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`. + * The only important value is the `CN`, which should be set to `localhost`. The rest 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`. * **Note:** You need a valid `ayb.toml` file. - * Run `cargo run -- default_server_config > ayb.toml` + * Run `cargo run -- default_server_config > ayb.toml`. + * Change `smtp_port` to `10026`. + * Change `smtp_username` to `"username"`. + * Change `smtp_password` to `"password"`. + * Set `e2e_testing` to `true` * Only run SQLite tests: `cargo test client_server_integration_sqlite -- --exact`. \ No newline at end of file