A simple Ruby on the Rails Database app (dictionary)
I talked about installing Rails on Ubuntu Server before here. This is a simple rails dictionary application. It’s really simple, and requires no code. Obviously not particularly “featureful”.
1. Create a new rails project:
1 | rails new nihongo |
2. Create a dictionary database for words:
1 2 3 | cd nihongo rails generate scaffold Word word:string definition:string tags:string rake db:migrate |
3. Start the server
1 | rails server |
4. Use you application:
Go to http://localhost:3000/words in a web browser.