mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk | moves notes, adds backup instructions, and shows asignees of bikes on bike page when they're present
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
To get the dump from a deployed environment:
|
||||
|
||||
First, create a backup:
|
||||
heroku pg:backups:capture --app [app name]
|
||||
|
||||
Then, download the backup:
|
||||
heroku pg:backups:download [backup id] --app [app name]
|
||||
|
||||
Then, reset the local database:
|
||||
rake db:drop db:create db:migrate
|
||||
|
||||
Then, load the backup into the database:
|
||||
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U [username] -d [database name] latest.dump
|
||||
@@ -0,0 +1,50 @@
|
||||
# Features
|
||||
- search bikes via brand, make, or serial number.
|
||||
- add mechanics table and change text input to a dropdown
|
||||
- printing a single freecyclery receipt from the client page uses the
|
||||
old styling
|
||||
- reports are broken
|
||||
- bike receipts dont fit well - margins are too big and explanatory text
|
||||
too small
|
||||
- flash message after a bike is logged should include the bike log
|
||||
number
|
||||
- unique index on log number for bikes
|
||||
- Use hyphens for dates instead of backslashes
|
||||
- Autopopulate fields like model, brand, color based on what exists in
|
||||
db
|
||||
- use fixed-bike form with checkboxes to autopopulate 'work done' and
|
||||
'new parts' section (this is especially useful for the characteristics
|
||||
"overhauled" and below
|
||||
- ability to print a receipt from the bike page would be helpful
|
||||
- list of freecyclery clients should be chronological, ideally by date
|
||||
of bike assignment, otherwise at least by application date
|
||||
|
||||
|
||||
- assign a bike from the available freecyclery bikes page
|
||||
- there should be nice feedback indicating that the bike was sold
|
||||
- order agencies by name
|
||||
- restyle agencies page to not have show or destroy links
|
||||
|
||||
# Tech
|
||||
- clients should require a name
|
||||
- eliminate duplication between client receipts and freecyclery receipts
|
||||
- use log number in bike url instead of id
|
||||
- paginate 'all clients' page
|
||||
- convert to bootstrap-less
|
||||
- integrate with autocomplete to get manufacturers & models
|
||||
- enable posting to bike index when a bike is created
|
||||
- add tests to ensure that pages render
|
||||
|
||||
# Other
|
||||
Reports
|
||||
General Reports
|
||||
bikes donated per year
|
||||
Yearly Reports
|
||||
bikes sold by month. (Bar graph for extra points!)
|
||||
bikes donated by year or month. (With bar graph!?)
|
||||
bikes donated according to agency. (Graph?)
|
||||
|
||||
Improve form layouts
|
||||
make navigation always on the left side of the page
|
||||
refactor index - move unsold bikes to model
|
||||
add recyclery logos & bike memorabilia pics all over app
|
||||
Reference in New Issue
Block a user