A thing that does things.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
crappy
e2e-tests
spec
src
support
web
.dockerignore
.editorconfig
.env-sample
.gitignore
.travis.yml
Brewfile
Dockerfile
Dockerfile.development
LICENSE
RATIONALE.md
README.md
Taskfile.yml
docker-compose.tests.yml
docker-compose.yml
package.json
shard.lock
shard.yml
webpack.config.coffee
yarn.lock

README.md

crankypants

A thing that does things.

CircleCI

Giving it a try via Docker

docker run --rm \
  -v crankypants-data:/data \
  -p 3000:3000 \
  -e "CRANKY_LOGIN=any-user-name" \
  -e "CRANKY_PASSWORD=any-password" \
  -e "CRANKY_TITLE=My Crankypants" \
  hmans/crankypants:latest

Deploying on hyper.sh

hyper run -d --name mycrankypants \
  -v /data \
  -p 80:3000 \
  -e "CRANKY_LOGIN=any-user-name" \
  -e "CRANKY_PASSWORD=any-password" \
  -e "CRANKY_TITLE=My Crankypants" \
  --size s1 \
  --restart always hmans/crankypants:latest

Configuration

ENV Value
CRANKY_LOGIN Login name when authenticating /app or /api
CRANKY_PASSWORD Password (see above)
CRANKY_TITLE Title of your site (will be displayed at the top of every page)

If CRANKY_LOGIN or CRANKY_PASSWORD are missing, Crankypants will not make its App or API available at all.

Hacking on Crankypants

cp .env-sample .env
docker-compose up

# http://localhost:3000/ (server-rendered public-facing blog)
# http://localhost:3000/app/ (your crankypants app)

Development Roadmap

Please peruse this project's issues for an overview of what's planned/broken/still missing.