ImgBotApp b2b57d946c [ImgBot] Optimize images
*Total -- 2,854.79kb -> 1,733.81kb (39.27%)

/public/images/slack.png -- 89.29kb -> 19.81kb (77.82%)
/public/images/som-bg.png -- 1,520.42kb -> 776.32kb (48.94%)
/public/images/som.png -- 592.10kb -> 319.63kb (46.02%)
/public/images/editor-icons/onshape-128.png -- 9.00kb -> 7.02kb (22.01%)
/public/images/editor-icons/unreal-engine-4-128.png -- 30.90kb -> 26.25kb (15.06%)
/public/images/editor-icons/godot-128.png -- 7.26kb -> 6.36kb (12.33%)
/public/images/athena.png -- 276.81kb -> 249.44kb (9.89%)
/public/images/athena_award.svg -- 329.01kb -> 328.99kb (0.01%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-12-13 18:37:51 +00:00
2025-02-16 03:21:30 -05:00
2025-11-17 17:47:26 -05:00
2025-12-07 22:49:40 -05:00
2025-02-16 03:21:30 -05:00
2025-12-13 18:37:51 +00: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-05-14 19:00:05 -04:00
2025-02-16 03:21:30 -05:00
2025-06-09 14:41:26 -04:00
2025-11-17 17:47:26 -05:00
2025-08-07 15:36:36 -04:00
2025-12-03 13:11:05 -05:00
2025-02-16 03:21:30 -05:00
2025-10-22 15:32:31 +00:00
2025-06-08 19:31:09 -04:00
2025-11-15 18:17:57 -05:00
2025-12-04 16:58:42 -05:00
2025-06-18 19:16:37 -04:00
2025-02-16 03:21:30 -05:00
2025-06-24 16:15:28 -04:00
2025-03-13 11:25:53 -04:00
2025-05-28 17:15:22 -04:00

Hackatime

Ping Status Work time

Local development

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

# 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

Comment out the LOOPS_API_KEY for the local letter opener, otherwise the app will try to send out a email and fail.

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 start up the app:
app# bin/dev
# This hosts the server on your computer w/ default port 3000

# Want to do other things?
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 or create a new user (you can view outgoing 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%