njus

Version, currently master branch1 version
  • master branchlatestOct 30, 2018

github.com/joenas/sidekiq_web.cr

Simple repo to deploy the WebUI for sidekiq.cr

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  njus:
    github: joenas/sidekiq_web.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.26.1
License
MIT
Author
joenas
Target
  • sidekiq_web from src/sidekiq_web.cr

Dependencies

Runtime Dependencies

README

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