Free, open source, Wakatime-compatible coding time tracker
Find a file
2025-03-11 22:05:10 -04:00
.github Update ci.yml 2025-03-11 15:03:38 -04:00
.kamal Initial commit 2025-02-16 03:21:30 -05:00
app Add slack channel name to sailors log prefs 2025-03-11 22:05:10 -04:00
bin Initial commit 2025-02-16 03:21:30 -05:00
config Add slack channel name to sailors log prefs 2025-03-11 22:05:10 -04:00
db Avatar supports non-slack users 2025-03-10 14:34:28 -04:00
lib Add slack channel name to sailors log prefs 2025-03-11 22:05:10 -04:00
log Initial commit 2025-02-16 03:21:30 -05:00
public Add leaderboard to robots.txt 2025-03-04 17:43:16 -05:00
script Initial commit 2025-02-16 03:21:30 -05:00
storage Initial commit 2025-02-16 03:21:30 -05:00
test Initial api & heartbeat rollover 2025-03-03 16:01:29 -05:00
tmp Initial commit 2025-02-16 03:21:30 -05:00
vendor Initial commit 2025-02-16 03:21:30 -05:00
.dockerignore Initial commit 2025-02-16 03:21:30 -05:00
.env.example Setup SES for production email sending 2025-03-10 11:38:42 -04:00
.gitattributes Initial commit 2025-02-16 03:21:30 -05:00
.gitignore Add example .env 2025-02-17 14:23:34 -05:00
.rubocop.yml Initial commit 2025-02-16 03:21:30 -05:00
.ruby-version Initial commit 2025-02-16 03:21:30 -05:00
config.ru Initial commit 2025-02-16 03:21:30 -05:00
docker-compose.yml Fix notification job missing class name 2025-02-22 01:58:46 -05:00
Dockerfile Add vim for editing inside the docker container 2025-03-05 16:08:05 -05:00
Dockerfile.dev Fix notification job missing class name 2025-02-22 01:58:46 -05:00
entrypoint.dev.sh Fix notification job missing class name 2025-02-22 01:58:46 -05:00
Gemfile Add letter-opener 2025-03-07 18:10:32 -05:00
Gemfile.lock Merge pull request #25 from hackclub/dependabot/bundler/good_job-4.9.3 2025-03-11 13:01:58 -04:00
Rakefile Initial commit 2025-02-16 03:21:30 -05:00
README.md fix: docker compose command in readme 2025-03-09 19:02:26 +00:00
slack_manifest_harbor.yml Handle either signing secrets 2025-03-01 10:07:18 -06:00
slack_manifest_sailors_log.yml Add slack channel name to sailors log prefs 2025-03-11 22:05:10 -04:00
todo.md Add email auth 2025-03-07 18:12:48 -05:00

README

Local development

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

# Set your config
$ cp .env.example .env
# The only thing you need to set is SEED_USER_API_KEY, which should be your key 

# Build & run the project
$ docker compose run --service-ports web /bin/bash

# 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

Ever need to setup a new database?

# start a shell inside docker
$ docker compose run web --service-ports /bin/bash

# once inside, reset the db
app# $ bin/rails db:drop db:create db:migrate db:seed