733 B
733 B
Commands
Basic commands for ayb development
- SMTP server:
./tests/smtp_server.sh 10026
- Note: You need to create the
cert.pem
andkey.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
andAntartica
. - Note: You need
openssl
installed in your system to run the command (you needopenssl-devel
anyway to build ayb).
- What you input doesn't really matter, I normally use
- Note: You need to create the
- Run ayb server:
cargo run -- server
.- Note: You need a valid
ayb.toml
file. - Run
cargo run -- default_server_config > ayb.toml
- Note: You need a valid
- Only run SQLite tests:
cargo test client_server_integration_sqlite -- --exact
.