Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/peterfication/peak-tracker-auth
- Owner: peterfication
- Created: 2023-03-07T13:08:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T06:47:36.000Z (6 months ago)
- Last Synced: 2024-10-10T00:51:31.194Z (3 months ago)
- Language: Ruby
- Homepage: https://auth.peak-tracker.com
- Size: 1.74 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peak Tracker Auth
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)