- PostgreSQL 14.0+
- Ruby 3.2.2
API Documentation can be found in API.md.
Copy the sample.env
file:
$ cp sample.env .env
Now open .env
file and make sure database environment variables are correct for your environment (use your Postgres configuration).
Install all gems and create the development and test databases:
$ bundle install
$ bin/rails db:setup
To run the server locally, run the command:
$ rails s
You can stop the server by pressing:
CTRL + C
$ bundle exec rspec
After running rspec
, it will generate a file in coverage/index.html
containing the test results,
simply open it on a browser to check the coverage.
This project uses Overcommit, a gem that run some checks before allowing you to commit your changes. Such as RuboCop, TrailingWhitespace and Brakeman.
Install Overcommit hooks:
$ overcommit --sign
$ overcommit --install
Now you can commit.