Install Ruby 3.3.6 and Docker that need to deploy.
Recommended to use rbenv
and other version management tools to install Ruby.
git clone https://github.com/S-H-GAMELINKS/activity-pub-relay.git
Finished code clone, move to activity-pub-relay
directory.
Run bundle install
.
bundle install
Then run bin/rails db:create db:setup
.
bin/rails db:create db:setup db:seed
Finally, bin/dev
to up server.
bin/dev
You can access to localhost:3000
, setup is done.
Use bin/rspec
.
bin/rspec
Use bin/rubocop
bin/rubocop