Homework: What to submit as part of a Rails project
I have a very simple Ruby on Rails project that has an ActiveRecords model with some validations, and a pretty basic view and controller that allows basic add/update/delete/search interaction with database.
I'd like for the professor to 开发者_运维百科be able to use the website, assuming he has Rails3 installed.
What would be a good way to submit this project? Specifically: what files and folders should I include, and what files should I exclude? What about directions for the professor? Anything else that I should include?
I think that a good idea will be to develop your project locally and then uploaded to a github repository for the professor to see your code. If you want a free, easy and EXCELLENT place to host your application try heroku, it is a cloud application platform where you can host your project(if you use a shared database < 5MB you will be able to do it with the free plan). I recommend you to include a README file a the root of your app where you add all your directions.
精彩评论