Loading repository data…
Loading repository data…
vijaypatidar99 / repository
VijayBus is a web-based bus booking application built using Ruby on Rails framework. This application allows users to search for buses and book tickets for various routes. It also provides an admin dashboard to manage buses, routes, and ticket bookings.
VijayBus is a web-based bus booking application built using Ruby on Rails framework. This application allows users to search for buses and book tickets for various routes. It also provides an admin dashboard to manage buses, routes, and ticket bookings.
To get started with the app, first follow the setup steps:
Next, clone the repo and cd into the directory:
$ git clone https://github.com/vijaypatidar99/vijaybus
$ cd Vijaybus
Also make sure you’re using a compatible version of Node.js:
$ nvm install 16.13.0
$ node -v
v16.13.0
$ ruby v-3.0.1
$ rails v-7.0.4.3
Then install the needed packages (while skipping any Ruby gems needed only in production):
$ yarn add jquery@3.5.1 bootstrap@3.4.1
$ gem install bundler -v 2.2.17
$ bundle _2.2.17_ config set --local without 'production'
$ bundle _2.2.17_ install
Next, migrate the database:
$ rails db:migrate
Finally, run the test suite to verify that everything is working correctly:
$ rails test
If the test suite passes, you’ll be ready to seed the database with sample users and run the app in a local server:
$ rails db:seed
$ rails server
Contributing If you find a bug or have a feature request, please open an issue.
If you would like to contribute to VijayBus, please fork the repository and submit a pull request.
License VijayBus is released under the MIT License.