If you can't read please download the document
Upload
kosuke-tanabe
View
1.096
Download
3
Embed Size (px)
Citation preview
2.
3. Next-L Enju 4. Web
WebAPI
5. 6.
7. 252000
8.
9. 10. Next-L Enju 11. Enju 12. Enju
13. enju_leaf Item
14. enju_leaf Patron
15. enju_leaf 16.
17. Ruby 1.9.2 18. PostgreSQL 8.4
Apache Solr
Ruby on Rails 3.1.3
19.
20. $ cd 21. $ mkdir tanabe tanabe 22. $ cd tanabe 23.
24. $ cd tanabe/enju_leaf 25.
26. 27. 1.0
28. 29.
30. public master
31. Next-L Enju 32. Next-L Enju
wiki productiondevelopment 33.
34. $ cd enju_leaf 35. $ ls -la 36.
app/views
app/controllers
37.
38. app/views/patrons/index.html.erb 39. app/views/patrons/show.html.erb 40. app/views/patrons/new.html.erb 41. app/views/patrons/edit.html.erb 42. app/views/patrons/_form.html.erb 43. app/controllers/patrons_controller.rb 44. 45.
46. Enju db/migrate
47. 48. 49.
50. solr/conf 51.
52.
53. 54.
55. ->item 56. ->patron 57. ->user 58.
59. 255 -> text 60. -> integer 61.
62. $ rails g migration AddStudentYearToPatron student_year:integer
63. student_year $ rake db:migrate 64.
65. vi app/views/patrons/show.html.erb 66.
67.
end 68. $ rails c >> Patron.reindex 69.
70. student_year_i: 2012