ByteAtATime 83c2987ab3 feat: add recent signup users with avatars (#89)
* feat: add recent signup users with avatars

- Show avatars of recent Hackatime setup users
- Add a hoverable user list showing all setup users with names and photos
- Add tooltips for first 5 users (as preview)

* Add flag to force the 'setup waka' notice

---------

Co-authored-by: Max Wofford <max@maxwofford.com>
2025-03-20 23:54:28 -04:00
2025-03-11 15:03:38 -04:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-03-20 20:07:01 -04:00
2025-03-19 23:57:08 -04:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-03-12 12:15:14 -04:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-03-19 15:22:09 -04:00
2025-02-16 03:21:30 -05:00
2025-02-17 14:23:34 -05:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-02-16 03:21:30 -05:00
2025-03-19 23:57:08 -04:00
2025-03-13 11:25:53 -04:00
2025-03-07 18:12:48 -05:00

Harbor README

Local development

# Set it up...
$ git clone https://github.com/hackclub/harbor && cd harbor

# Set your config
$ cp .env.example .env

Edit your .env file to include the following:

# Database configurations - these work with the Docker setup
DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
WAKATIME_DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
SAILORS_LOG_DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development

# Generate these with `rails secret` or use these for development
SECRET_KEY_BASE=alallalalallalalallalalalladlalllalal
ENCRYPTION_PRIMARY_KEY=32characterrandomstring12345678901
ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902
ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234

Build & Run the project

$ docker compose run --service-ports web /bin/bash

# Now, setup the database using:
app# bin/rails db:create db:schema:load db:seed

# Now you're inside docker & you can do all the fun rails things...
app# bin/rails s -b 0.0.0.0 # this hosts the server on your computer w/ default port 3000
app# bin/rails c # start an interactive irb!
app# bin/rails db:migrate # migrate the database

You can now access the app at http://localhost:3000/

Use email authentication from the homepage with test@example.com (you can view emails at http://localhost:3000/letter_opener)!

Ever need to setup a new database?

# inside the docker container, reset the db
app# $ bin/rails db:drop db:create db:migrate db:seed
Description
Just give it some time! ⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-05-01T16:06:52.535Z
Readme 7 MiB
Languages
Ruby 54.4%
HTML 36.8%
JavaScript 4.5%
CSS 3%
Shell 0.6%
Other 0.7%