Added startup script

This commit is contained in:
Awstin 2024-03-24 14:09:21 -04:00
parent dbf573f980
commit 74a4e07bb0
2 changed files with 3 additions and 1 deletions

View file

@ -12,7 +12,7 @@ pub async fn run() -> anyhow::Result<()> {
.with(tracing_subscriber::fmt::layer())
.init();
info!("initializing router...");
let port = 8000_u16;
let port = 21212_u16;
let addr = std::net::SocketAddr::from(([0, 0, 0, 0], port));
let router = html::root::get_router();
info!("router initialized, now listening on port {}", port);

2
startup.sh Executable file
View file

@ -0,0 +1,2 @@
#! /usr/bin/bash
target/release/achubb_backend