Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

22 wiersze
693B

  1. # Easiest way to run Sidekiq::Web.
  2. # Run with "bundle exec rackup simple.ru"
  3. require 'sidekiq'
  4. # A Web process always runs as client, no need to configure server
  5. Sidekiq.configure_client do |config|
  6. config.redis = { :size => 1, url: 'redis://localhost:6379', namespace: 'psychiq' }
  7. end
  8. # In a multi-process deployment, all Web UI instances should share
  9. # this secret key so they can all decode the encrypted browser cookies
  10. # and provide a working session.
  11. # Rails does this in /config/initializers/secret_token.rb
  12. secret_key = SecureRandom.hex(32)
  13. use Rack::Session::Cookie, secret: secret_key, same_site: true, max_age: 86400
  14. require "sidekiq/web"
  15. map '/psy' do
  16. run Sidekiq::Web
  17. end