Here is my gpa calculator app in rails. cgpacalc.herokuapp.com
with some bootstrap. It calculates the gpa and allow users to signup and save their marksheets for their future references.
some vim tips:
I used vim editor for this development. There is a plugin called vim-rails it can make the development much easier.
vi editor should be on your box.
need to install vim-pathogen before installing vim-rails
mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -LSso ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
then add this on .vimrc file
execute pathogen#infect()
after that we can install vim-rails by
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-rails.git
git clone git://github.com/tpope/vim-bundler.git
open vim and type :Rails
Baisc commands:
:Rmodel user
:Rcontroller application
:Rhelper navigation
:Rview sessions/new
:Rfunctionaltest sessions
:Runittest user
Comments
Post a Comment