Giter Site home page Giter Site logo

chore-calendar's Introduction

Chore Calendar

"I want a web application to control the flow of chore responsibilities from day to day."

How to Run

Install the Docker Toolbox. In a terminal in this directory:

eval $(docker-machine env default --shell=bash)
docker-compose build
docker-compose up
cp dotenv.development .env

Alternatively, if you don't need the log stream:

eval $(docker-machine env default --shell=bash)
docker-compose build
docker-compose start
cp dotenv.development .env

Customize .env and set a default username and password for signing in.

Run migrations and seeds:

docker-compose run --rm chore bin/rake db:migrate db:seed

Visit 192.168.99.100:3000 (assuming that is your docker-machine ip).

Changing networks:

If you have changed networks since the last docker-compose up or docker-compose start:

docker-machine restart default

chore-calendar's People

Contributors

millidavids avatar cheshire137 avatar summasmiff avatar chaserx avatar

Stargazers

Mike Dillion avatar

Watchers

 avatar James Cloos avatar

chore-calendar's Issues

Better README

How do I run your app? Running docker-compose up causes an error: Error: image library/chorecalendar_chore:latest not found

Day Switcher Modal

@moneypenny and I were discussing how to switch people, if they needed to switch. We think a modal would work really well.

  • Add a link in the menu for "Switch Person"
  • On click, open a modal and populate with all the people that are not the person for the current day.
  • Allow clicking a person to switch days with that person

No Method Error: undefined method `make_current' for nil:NilClass

def set_calendar
    @cal = Calendar.first
    @cal.make_current
  end

Need to seed the calendar with at least one day to start on, so the update function has something to do.
Seed it with some people as well.

Seeds exist, but aren't seeding.

Seeds didn't seed automatically.

Add tasks (including date specific tasks)

Monday

  • Take out trash

Tuesday

  • Bring in trash

Everyday

  • Gather dishes and trash from desks and downstairs table
  • Empty dishwasher
  • Fill dishwasher
  • Start dishwasher
  • Wipe countertops
  • Slay ants
  • Empty trash
  • Empty recycling
  • Check soap and toilet paper in bathrooms

Bundle error when running

With a fresh docker-compose up, I get this output:

db_1     | LOG:  autovacuum launcher started
chore_1  | /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find byebug-6.0.2 in any of the sources (Bundler::GemNotFound)
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/spec_set.rb:85:in `map!'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/spec_set.rb:85:in `materialize'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/definition.rb:132:in `specs'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/definition.rb:177:in `specs_for'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/definition.rb:166:in `requested_specs'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/environment.rb:18:in `requested_specs'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/runtime.rb:13:in `setup'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler.rb:122:in `setup'
chore_1  |  from /usr/local/bundle/gems/bundler-1.7.12/lib/bundler/setup.rb:17:in `<top (required)>'
chore_1  |  from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
chore_1  |  from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
chorecalendar_chore_1 exited with code 1
db_1     |  done
db_1     | server started

Nothing is running on my host at 192.168.99.100:3000.

missing docker library?

± docker-compose up
Creating chorecalendar_db_1...
Pulling bundle (chorecalendar_chore:latest)...
Pulling repository docker.io/library/chorecalendar_chore
Error: image library/chorecalendar_chore:latest not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.