sidekiq_web.cr

Simple repo to deploy the WebUI for sidekiq.cr

sidekiq_web

Simple repo to deploy the WebUI for sidekiq.cr.

Works great on dokku (and probably Heroku, haven't tried).

Usage

Local

cp .env.example .env # and edit
shards
crystal src/sidekiq_web.cr
# or if you have Foreman installed
foreman start -f Procfile.dev

Dokku

First create your app on the server

dokku apps:create sidekiq-web
dokku redis:link [your-redis] sidekiq-web
dokku config:set njus-sidekiq-web KEMAL_ENV=production \
  REDIS_PROVIDER=REDIS_URL \
  SECRET_TOKEN=sometoken \
  SIDEKIQ_USER=admin \
  SIDEKIQ_PASSWORD=CHANGEME
# ... add Let's Encrypt, domains and whatnot

Then deploy...

git remote add dokku dokku@yourserver:sidekiq-web
git push dokku master

and the .buildpacks and Procfile will take care of the rest!

Contributing

  1. Fork it (https://github.com/joenas/sidekiq_web/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • joenas joenas - creator, maintainer
Repository

sidekiq_web.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 3
  • about 6 years ago
  • October 30, 2018
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 20:36:34 GMT

Languages