Skip to content

local environement to run the project , containing scripts to pull and sync repos , run infra initiate dbs and run services in the correct order both with and without docker , with health checks and centralize logs , foccusing on developper experience and managing most OPS .

Notifications You must be signed in to change notification settings

OurBusWay/local-env

Repository files navigation

📦 OurBusway – Local Dev Env

repo to run the OurBusway platform locally: infra + 8 Spring Boot services + React frontend. Short, Script-first, zero manual setup, developer-experience oriented.

Prereqs

  • Git, Java 17+, Node.js/npm, Docker; Stripe CLI optional.

Sync code

chmod +x sync-repos.sh
./sync-repos.sh

Run (direct, no Compose)

chmod +x run-local.sh
./run-local.sh

how it works :

run-local
local execution workflow

Run (Docker Compose)

chmod +x run-docker.sh
./run-docker.sh

What it does :

  • docker-compose.yml brings up Postgres (with init-db.sql), RabbitMQ (guest/guest), Consul.
  • Builds/starts all services and frontend as containers.
  • Streams each container logs to ./logs/<service>.log.
  • Starts Stripe webhook (if CLI installed and authenticated).
  • CTRL+C stops everything.

Notes

Note

  • .env provides necessary secrets for all backend microservices .
  • If something looks off, check ./logs/*.log.

That’s it.

About

local environement to run the project , containing scripts to pull and sync repos , run infra initiate dbs and run services in the correct order both with and without docker , with health checks and centralize logs , foccusing on developper experience and managing most OPS .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors