Skip to content

This is a bus booking and ticketing system. It is based on a case study of Easy Coach bus service

License

Notifications You must be signed in to change notification settings

tallninja/tusafiri

Repository files navigation

Tusafiri Project

This is a bus booking and ticketing system that allows people to book buses to various destinations from the comfort of their home.

webapp home

admin home

invoice

Running

Make sure you have Docker and Docker-compose installed on your system

Development

docker-compose -f docker-compose.dev.yml up --build

OR

docker-compose -f docker-compose.dev.yml up

Production

Then you can run the commands below.

docker-compose up --build

OR

docker-compose up

If you wish to use a remote hosted database instance then you need to create a .env.local file at the root of the project. Inside the .env.local file add the DB_URI environment variable like so:

DB_URI={database URI string here...}

Then start with the following commands:

docker-compose --env-file .env.local ...

Note by default docker compose will use .env file to inject environment variables in this case we add --env-file which specify an alternate environment file.

Enjoy :D