From 08bf39aab1acdf6059a7d3b51c8410523b0a7470 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Sun, 18 Feb 2024 08:46:57 -0500 Subject: [PATCH] better readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ae9484..35d3870 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ # BinghamtonBetterBus -Currently just an api to get the best bus route from point a to point b, currently building frontend -to run you need a file called GOOGLE_API_KEY in the dir the app is run in which has access to the routes api +There are 2 parts to this app, backend and frontend which are built with different commands. `cargo build` in the root directory will build the backend and `npm run build` in the BBB_frontend directory will build the frontend, run the backend and host the frontend with your preferred method of hosting static files and you're up and running. + +In future I intend to improve the deoployment experience and madke it non-local by dockerizing things but when I tried during the hackathon I hit a cryptic nginx error. + +to run you need a file called GOOGLE_API_KEY in the dir the app is run in which has access to the routes api (if you're nice you'll also replace the google api key in the frontend for google maps) ## TODO: