Foster pet management app.
General information
- Ruby version: 3.3.4
- Rails version: 8.0.1
- DB: PostgreSQL
- Test framework: Minitest
First-time steps to run the app locally:
- Clone the repo
- Configure
config/database.yml
(e.g. user credentials) - Run
createuser -P -d pawpad
and set password (store it in ENV variablePAWPAD_DATABASE_PASSWORD
) - Run
bundle install
- Run
bundle exec rails db:create
- Run
bundle exec rails db:migrate
- Run
bundle exec rails db:seed
To start local server:
- Run
bundle exec rails s
To start docker container:
- Run
docker-compose up -d
To run the tests:
- Run
bundle exec rails test