Educational project to mimic murderledger.com
GPL-3.0 License
Trying to creae a murderledger clone with some additional features, as an educational project.
https://albion.killarchive.fun/
Using Ruby on Rails for everything.
config/initializers/scheduler.rb
app/services/event_handler_service/
Just the Rails way.
This project needs a nice frontend design using HTML/CSS/Javascript and a lot of backend stuff for fetching and feeding from Albions API. If you want to contribute to that, please feel free to open a PR for minor fixes or contact me via Discord to coordinate bigger changes/contributes.
You can clone this Repo and host the project locally:
ruby
- currently 3.2.4 - consider installing via https://rvm.io/ or via package manager if you're on Arch Linux
git
- obviouslypostgresql
- currently 16.3rails
- gem install rails
gems
- bundle install --gemfile Gemfile
redis
- see redis.io
ImageMagick
- see imagemagick.org
PostgreSQL needs to be setup, that can be different depending on environment... Look at
When it comes to creating a user, do createuser --interactive
, enter your username as role name and grant database creation perms, superuser not required.
In the albion-killarchive
directory, do:
bin/rails db:create
bin/rails db:migrate
and then start the Server via
bin/rails server
and the job executing (to fetch events) with:
bundle exec sidekiq -q default,5 -q low_priority,2
You should be able to open http://localhost:3000/ in your browser and see stuff.
to uxwing for the favicon (app/assets/images/favicon.svg
) as well as the pending-work icon (app/assets/images/pending-work-icon.svg
)