Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterfication/peak-tracker-auth

This is the identity provider for Peak Tracker
https://github.com/peterfication/peak-tracker-auth

Last synced: 3 months ago
JSON representation

This is the identity provider for Peak Tracker

Awesome Lists containing this project

README

        

# Peak Tracker Auth



CI


CodeCov


Maintainability Rating




Identity provider for [Peak Tracker](https://github.com/peterfication/peak_tracker_backend)

It's built with [Ruby on Rails](https://rubyonrails.org/), [Devise](https://github.com/heartcombo/devise) and [Doorkeeper](https://github.com/doorkeeper-gem/doorkeeper).

## Useful commands

Commands are defined in the [`Justfile`](Justfile) and can be listed with [`just`](https://github.com/casey/just).

## Getting started

Peak Tracker Auth expects a PostgreSQL database and a Redis server to be accessible.

```console
# Make sure you have the required Ruby version installed
ruby -v
-> ruby 3.2.2 ...

# Install the dependencies
bundle

# Setup the database
bundle exec rails db:setup

# Start the server
just start
```

## Troubleshooting

### Installing `puma` fails

```
...
compiling http11_parser.c
compiling mini_ssl.c
compiling puma_http11.c
linking shared-object puma/puma_http11.bundle
Undefined symbols for architecture arm64:
"_SSL_get1_peer_certificate", referenced from:
_engine_peercert in mini_ssl.o
ld: symbol(s) not found for architecture arm64
...
```

See this [PR comment](https://github.com/puma/puma/issues/2790#issuecomment-1547332463)