activity-pub-relay

Development Guide

Requirements

Setup

Install Ruby and Docker

Install Ruby 3.3.6 and Docker that need to deploy. Recommended to use rbenv and other version management tools to install Ruby.

Clone ActivityPub Relay code

git clone https://github.com/S-H-GAMELINKS/activity-pub-relay.git

Finished code clone, move to activity-pub-relay directory.

ActivityPub Relay Setup

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.

Run test

Use bin/rspec.

bin/rspec

Run Rubocop

Use bin/rubocop

bin/rubocop