Update ayb/commands.md
This commit is contained in:
parent
214d84c45d
commit
d7a0344614
1 changed files with 6 additions and 2 deletions
|
@ -5,9 +5,13 @@ Basic commands for ayb development
|
||||||
* SMTP server: `./tests/smtp_server.sh 10026`
|
* SMTP server: `./tests/smtp_server.sh 10026`
|
||||||
* **Note:** You need to create the `cert.pem` and `key.pem` files.
|
* **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`.
|
* 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).
|
* **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`.
|
* Run ayb server: `cargo run -- server`.
|
||||||
* **Note:** You need a valid `ayb.toml` file.
|
* **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`.
|
* Only run SQLite tests: `cargo test client_server_integration_sqlite -- --exact`.
|
Loading…
Reference in a new issue