Skip to content

Jaicob/tutor-marketplace

Repository files navigation

Web App Build Status

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Ruby on Rails

This application requires:

  • Ruby 2.2.0
  • Rails 4.2.1

Learn more about Installing Rails.

Getting Started

  • Clone the repo
  • Install dockertoolbox, this can be done via brew if on OS X
  • Request a copy of the application.yml from [email protected] and place in config/application.yml
  • Run docker-compose up
  • Open a shell using docker exec -it webapp_web_1 /bin/bash
  • Inside the container run rake db:create db:migrate to setup your database
  • Inside the container run rake bower:install to get assets
  • You can visit the running application at the ip of you docker-machine on port 3000
    • I would recommend adding dockerhost as known host on your machine for ease of access
  • Restart the server by using docker-compose stop then docker-compose up or docker-compose start
  • docker-compose start will run it as a daemon where as docker-compose up is in the foreground
  • All file changes should be made locally and any rake or bundle commands should be run inside the container

Redis Server for Background Jobs

  • Sidekiq and Redis handle our background processes, currently just sending emails
  • Even Devise sends email in the background (as well as all appointment emails) and Redis and Sidekiq must be running for Devise emails to work
  • Docker compose handles starting/running both of these
  • To monitor background processes, visit dockerhost:3000/sidekiq

Issues

  • If there are issues with the docker containers let [email protected] know and he will be in touch to make your troubles disappear (hopefully)

Similar Projects

There can only be one.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published