BeBanjo Code Test

Job ID: 36221780

Budget: €6 – €12 EUR

BeBanjo Code Test
This is a pretty basic Rails application with a couple of models and a handful of controllers. It requires Ruby, Rails, and Sqlite.

This simple app allows Users (employees at media companies) to manage their Schedulings (scheduled media content).
Setting up the application

Traditional way

1. Setup Ruby in your machine (see .ruby-version file)
2. Setup everything with bin/setup (see the script for details)
3. Run the test suite with rake
4. Start the app with rails server
5. Visit http://0.0.0.0:3000 (login as any user in tests/fixtures/users.yml)
With Docker

If you prefer, you can use Docker:

1. Build the required Docker container: docker compose up. This command will create the container, but also will install dependencies and will boot the local web server. If you need to open a Rails console you can run docker compose exec app bin/rails c
2. Setup everything with docker compose exec app bin/setup (see the script for details)
3. Run the test suite with docker compose exec app bin/rake
4. Visit http://0.0.0.0:3000 (login as any user in tests/fixtures/users.yml)
5. When you finish, you can destroy the Docker container with docker compose down