aybDev/ayb/commands.md

625 B

Commands

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.
      • 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.