Apache Infrastructure Whimsy

Clone this repo:
  1. 241a550 Fix argument ordering in README by Dan Norris · 2 years, 4 months ago master
  2. 322bbaf Update README and add DEBIAN_FRONTEND to Dockerfile by Dan Norris · 2 years, 4 months ago
  3. 80ad7cb Add README and update Dockerfile by Dan Norris · 2 years, 4 months ago
  4. 5762881 Add dep management for npm sources, quick way to install everything by Dan Norris · 2 years, 4 months ago
  5. 0101f27 Add onClick placeholder by Dan Norris · 2 years, 4 months ago

Development

Dependencies

  • Ruby >= 2.0
  • Node.js (for JS dependency management tools + React)
  • Redis
  • Docker

Starting the Docker container and Application

# Start the containers
docker run -d --name secretary-redis redis
docker build -t secretary-app .
docker run -i -t -v $(pwd):/whimsy --rm --link secretary-redis:secretary-redis secretary-app

# Now you're in the container
bundle install
rake bootstrap
puma

That should start a server listening on port 9292 serving the Secretary application.

Install Dependencies Locally

If you want to do development outside of a Docker container and already have Ruby 2.2 and Node:

bundle install
rake bootstrap