App Rails is a experimental application to do authentication of users, multiple uploads files, study case, relationchips models (user, files, picture), so on.
In resume, studies case as follows:
- Commands - Basic commands of rails and Rake;
- Migrations;
- Models;
- Security;
- Routes;
- Templates and Helpes
The bibliographic references to building this application was a book about Rails, support documentation of Rails and Stackoverflow. I also have a book Cucumber e RSpec about TDD with Rails and Ruby book but I still don't read it.
4.1.8
I worked with:
- Cloudinary - Cloud-base services!
- Slap Editor - awesome terminal-based text editor
- Heroku - a super cloud application platform
- Twitter Bootstrap - great UI boilerplate for modern web apps
- Carrierwave - a Gem to upload files
- Git - for control version
- jQuery - duh
You can view the result here.
You need to use the Ruby enVironment Manager - RVM. Install the lib buid-essential and others dependencies:
$ sudo apt-get install build-essential
$ sudo apt-get install libreadline-dev libssl-dev curl libsqlite3-dev
And run:
$ curl -L get.rvm.io | bash -s stable --rails
$ source $HOME/.rvm/scripts/rvm
Clone this repository:
$ git clone https://github.com/alexfalcucc/app-ruby.git
$ cd app-ruby
Install plugins:
$ bundle install
Create and migrate your database:
$ rake db:create db:migrate
Run the application:
$ rails runserver
That's all. See you!
MIT
Free Software