-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
28 lines (23 loc) · 1.69 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
i[README NOT REALLY DONE YET]
Will add any instructions here as they occur to me.
To get up and running, or after updating from GitHub, be sure to run the following rake tasks:
1. rake db:migrate:reset
Should re-create and set up the current database and some necessary records.
2. rake db:populate:sample_data
Creates about 65 sample clients (and 1000 people) using semi-realistic values and random strings. Logic based off specifications given by AJ. If you don't like what it generates, you can always run it again and it will regenerate the data.
BEWARE! This erases many tables in the database, and populates it with sample data. Don't run it if you want to at all keep the data in there, including any additional field ministries.
You should also ensure you have the rcov gem installed. 'sudo gem install rcov' at the command line should do the trick if not.
All the other gems needed should be included in the vendor directory.
My Todo Tasks:
1. Refactor the primary, high school, uni thing using Single Table Inheritance. (Done)
See this link for details: http://api.rubyonrails.org/classes/ActiveRecord/Base.html, Single Table Inheritance section
2. Include an 'Any' option for field ministry involvements when searching, so that it picks up clients not involved in any ministry at the moment
3. CSV Export of all data
4. CSV Export of email addresses
5. Link Profile link on results page to actual profile page (Done)
6. Create profile page (Done)
7. Many more tests
8. Dynamic title and green header bar text
9. Info pages for things like churches, workplaces, etc (Done)
10. Better documentation of code
11. Support for a person to be a child of multiple people, such as both their mother and father.