Free, open source, Wakatime-compatible coding time tracker
Find a file
2025-03-13 18:52:24 -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 Remove unused job concurrency key 2025-03-13 18:52:24 -04:00
bin Initial commit 2025-02-16 03:21:30 -05:00
config Add slack username updater background job 2025-03-13 18:52:01 -04:00
db Update schema.rb 2025-03-13 18:38:04 -04:00
lib Additional flavor text 2025-03-13 15:34:17 -04:00
log Initial commit 2025-02-16 03:21:30 -05:00
public Add success message to setup.sh 2025-03-13 16:47:41 -04:00
script Initial commit 2025-02-16 03:21:30 -05:00
storage Initial commit 2025-02-16 03:21:30 -05:00
test Add ProjectRepoMappings 2025-03-12 12:15:14 -04: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 Turn on transactional emails with loops 2025-03-12 16:03:54 -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 Bump rails from 8.0.1 to 8.0.2 2025-03-12 18:31:26 +00:00
Gemfile.lock Bump rails from 8.0.1 to 8.0.2 2025-03-12 18:31:26 +00: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 Rename slack bot 2025-03-13 11:25:53 -04: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