A simple calculator in rails.
AJAX submit of form.
https://rails-simple-calculator.herokuapp.com
Install instructions:
-
Pull from GitHub:
$ git clone https://github.com/Tawfiqh/RailsSimpleCalculator.git
-
Make sure dependencies are installed
$ bundle install
-
Make sure postgress is running (if installed with brew, run this)
$ brew services run --all
-
Create the db (required for the project, but unused, can be removed)
$ rake db:create
-
Run the server
$ bundle exec rails s -b 0.0.0.0
-
Access the calculator - it should now be running on localhost:3000. Go there in browser.
http://localhost:3000/