Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526
  1. [package]
  2. name = "discord-bot"
  3. version = "0.1.0"
  4. edition = "2024"
  5. [dependencies]
  6. dotenvy = "0.15.7"
  7. serenity = { version = "0.12.5", features = ["full"] }
  8. tokio = { version = "1.0", features = ["full"] }
  9. [package.metadata.scripts]
  10. launch = 'cargo run'
  11. kill_conflict_port = 'lsof -t -i:5000 | xargs kill -9'
  12. redis_cli_flush_all = 'redis-cli flushall'
  13. start_redis_server_in_background = 'redis-server --daemonize yes'
  14. see_open_ports = 'lsof -i'
  15. pipe_gogs = 'open http://localhost:9999 && ssh -L 9999:localhost:9999 rubyfetch-server'
  16. pipe_all = 'ssh -L 4001:localhost:4001 -L 4000:localhost:4000 -L 3000:localhost:3000 -L 5011:localhost:5011 -L 5013:localhost:5013 rubyfetch-server'
  17. pipe_prometheus = 'open http://localhost:4001 && ssh -L 4001:localhost:4001 rubyfetch-server'
  18. pipe_alertmanager = 'open http://localhost:4000 && ssh -L 4000:localhost:4000 rubyfetch-server'
  19. pipe_dokploy = 'open http://localhost:3000 && ssh -L 3000:localhost:3000 rubyfetch-server'
  20. pipe_pgadmin = 'open http://localhost:5011 && ssh -L 5011:localhost:5011 rubyfetch-server'
  21. pipe_redisinsight = 'open http://localhost:5013 && ssh -L 5013:localhost:5013 rubyfetch-server'
  22. pipe_postgres = 'ssh -L 5432:localhost:5432 rubyfetch-server'