• Stars
    star
    294
  • Rank 141,303 (Top 3 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 13 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🐚 foreman in shell

shoreman(1) CI

A shell implementation of Foreman. Starts the process formations defined in a Procfile.

Install

macOS with Homebrew

brew install chrismytton/formula/shoreman

Standalone

Install as a standalone, change ~/bin/ to any other directory that's in your $PATH if you wish.

curl https://github.com/chrismytton/shoreman/raw/master/shoreman.sh -sLo ~/bin/shoreman && \
chmod 755 ~/bin/shoreman

Usage

Head into a project that has a Procfile in it, then simply run the shoreman command. It will read your Procfile, and start up the processes it finds. If there is a .env file in the directory then environment variables will be read from it, as with foreman.

cd project-with-procfile
shoreman

Running tests

Tests are written using roundup.

To run the tests, go to the root of the repository then run make.

cd shoreman
make

Annotated source code

There's a literate-programming-style annotated version of the source code available at https://www.chrismytton.uk/shoreman/.

Generate documentation from source code

npm install -g docco
docco -l linear shoreman.sh

This puts the documentation in a docs/ directory. You'll then need to manually copy the contents of that directory over to the gh-pages branch and run mv shoreman.html index.html in order to publish it to GitHub Pages.

Projects using shoreman

Contributors

See the contributors section of GitHub Insights for this repository.

Credits

Inspired by the original Foreman by David Dollar (@ddollar).

Copyright (c) Chris Mytton

More Repositories

1

fancybox-rails

Use FancyBox with the Rails asset pipeline
Ruby
94
star
2

gist-img

DEPRECATED: Don't use this, it doesn't work :)
Shell
57
star
3

procfile

Parse Procfiles in go without yaml
Go
13
star
4

rack-git_sha

Tiny rack application that serves up the currently deployed git commit SHA.
Ruby
11
star
5

dotfiles

~chris
Ruby
9
star
6

blanktab

Distraction-free new tab extension for Google Chrome
HTML
9
star
7

httpserver

Static http server in Go
Go
9
star
8

capistrano-chef-solo

Ruby
8
star
9

sinatra-github_webhooks

Handle GitHub webhooks with Sinatra
Ruby
5
star
10

twistofpepper

node.js and socket.io Twitter streaming demo
JavaScript
4
star
11

heroku-buildpack-jq

Shell
4
star
12

rack-github_webhooks

Rack middleware for validating GitHub webhooks
Ruby
3
star
13

art

🎨 An evolving collection of digital art
TypeScript
3
star
14

cheltenham-farmers-market

🥕 Scraper to get the dates of Cheltenham farmers market as an ical feed
Ruby
2
star
15

chef-rbenv-vars

Chef recipe to install rbenv-vars plugin
Ruby
2
star
16

foauth

Ruby client for foauth.org - Makes OAuth optional
Ruby
2
star
17

pitchfork_scraper

Ruby
2
star
18

gardeners-world-monthly-jobs

🌱 API for monthly garden jobs
Ruby
2
star
19

location-finder

🛰️ Get your current latitude, longitude and more
Vue
1
star
20

sg_node_mapper

Social Graph Node Mapper for Ruby
Ruby
1
star
21

chrismytton.github.io

The generated static version of my website
HTML
1
star
22

toggledots

Show and hide 'dot-files' in OS X's Finder
Ruby
1
star
23

l

1
star
24

bluevia-example

Example of using the Bluevia API with Sinatra
Ruby
1
star
25

homebrew-formula

Ruby
1
star
26

brug-redis

Slides for Ruby on Redis talk by at Bristol Ruby User Group - August 2011
Ruby
1
star
27

webhook_handler

Rack + Sidekiq = Easy webhooks
Ruby
1
star
28

maplibre-open-zoomstack

Demo using Maplibre with OS Open Zoomstack Vector API
HTML
1
star
29

csvquery

Query CSV files using SQL over HTTP
Go
1
star