Git Product home page Git Product logo

tep_lending_library's Introduction

README

Populate the sqlite3 database with csv files

csv files path

/app/csvs/<table name>.csv

i.e. users, schools

commands to run rails/rake tasks

bundle install

setup drops existing database, import does not

rails lendinglibrary:setup
rails lendinglibrary:import

to check if the tables are correctly populated

rails c
> School.limit(5).order('id desc')

tep_lending_library's People

Contributors

dreadwall avatar julfie avatar waltdonn avatar

Watchers

 avatar  avatar

tep_lending_library's Issues

Lightup / Blackout

Implemented using resque, so cat can plan ahead for certain dates to be blacked out

Reports

  1. 5 more report tables
  2. Reports to pdf format
  3. Organize/Groupby
  4. Pagination

Bug fix in Upload_users

Email addresses that fail, because the email already exists in the database shouldn't report an error to Cat.

Loading times

Right now, theres lots and lots of scripts being grabbed and sent over. I don't think every page needs all these scripts, and its a huge drain on loading time. Should streamline this and make more layouts

Add scope for_item in Kit model

So in controller, we can call Kit.available_kits.for_item(item_id) to get all the kits for a particular item and we can randomly select the kit to rent out when a teacher puts an order

Pick-up Date Reminders

Sending emails to teachers

Was a good to have feature - Cat mentioned it would be really nice to have

Kits availability dependent on item condition

Cat mentioned it in last Friday meeting to make certain number of kits unavailable if item broken

i.e. If 2 iPads are broken and waiting to be fixed, the corresponding Osmo item would shown as not available. There may be back-ups in the future, but not yet.

SteamKit Route

The SteamKit route is supposed to be a copy of the index action, however does not support json requests.

Styling on Home pages

I noticed that unless I wrap my partials in a div with an id of "welcome", no content will appear. Might be good to clean this up.

Fix database initialization

rake db:populate, rake db:seeds, rake db:export none of these currently have rake tests built. Please add these to seed the database.

Fix confirmation email

Should mention TEP Lending library in subject line, and it should Use the actual webiste of the provider

Handling Transition to Upload Users

I am adding the functionality in the home controller for admins to upload csv's of user info to add a bunch of users to the database at once. My current understanding is that this should be the ONLY way users can be added to the system, so we will have to go through and comment out the devise controllers so that noone can add user accounts in any other way.

anticipate returns for new rentals?

Should volunteers see the number of kits presently at the store, or expected to be at the store when they come to pick up a kit. (I.E. if all kits are being returned on a friday, and someone looks on monday to reserve a kit for the next month. Do they see all kits available, or 0 kits available.)

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.