mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
e2f7d512dbb43c2bb9fde2f7b64aaabf23461875
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 web --service-ports /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
Description
Just give it some time!
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-05-01T16:06:52.535Z
Languages
Ruby
54.4%
HTML
36.8%
JavaScript
4.5%
CSS
3%
Shell
0.6%
Other
0.7%