2023-12-15 19:36:37 +00:00
|
|
|
# Commands
|
|
|
|
|
|
|
|
Basic commands for ayb development
|
|
|
|
|
|
|
|
* SMTP server: `./tests/smtp_server.sh 10026`
|
2023-12-15 19:54:09 +00:00
|
|
|
* **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`.
|