Development setup
Want to contribute to something cool?Join our team now!Your code can make a real impact.Check out the open issues, submit pull requests, and let’s build something awesome together!
Stack
Ruby
Ruby on Rails
PostgreSQL
Vue
Vite
Bundler
You can pull the code from https://github.com/berkmancenter/timetracker.
Setup
Clone the Repository
git clone https://github.com/berkmancenter/timetracker.git
cd timetracker
Set Up Docker
Launch the services using Docker Compose:
docker-compose -f docker/docker-compose.dev.yml up
Access the App Container
Open a bash session in the app container:
docker-compose -f docker/docker-compose.dev.yml exec app bash
Install Dependencies
Inside the container, run:
bundle install
yarn install
Configure Environment Variables
Copy the example environment configuration file and edit as necessary:
cp .env.sample .env
Add or update the environment variables in your env file.
Database Setup
Run database migrations:
rails db:migrate
Start the Application
Use the following command to start the app in development mode:
rails s
Last updated