Skip to content

Commit

Permalink
reflect actual app status
Browse files Browse the repository at this point in the history
  • Loading branch information
netzfisch committed Feb 11, 2014
1 parent 51f39a0 commit 6fef78f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Expand Up @@ -6,27 +6,29 @@ Course][1] - 12th batch at [RubyLearning][2].


## Features ## Features


Use YaSApp as your **Sinatra Template Application** with following basic Use YaSApp as your **Sinatra Template Application** with following simple
components
implementations: implementations:


#### Basics * Before filter and helpers
* Handlers and form parameters
* Simple model with CRUD actions
* Haml and slim views
* RSpec test suit


* routes Just change or remove not used functionality and extend according to your needs.
* before filter See it momentarily live deployed at heroku under [YaSApp][3].
* set method, to assign variables


#### ToDo's (not implemented yet) ##### ToDo's (not implemented yet)


* Mapping of URLs with parameters to functions * heroku postgres mapping
* Views with layouts, e.g. responsive - based on thoughtbot/neat * Error handling
* Authentication * RACK::AUTH::BASIC Authentication
* DB mapping * Responsive views based on thoughtbot/neat

Just cut not used functionality out and/or extend according to your needs.


# Developemnt # Developemnt


Install [heroku toolbelt][8], do `$ foreman start` and go to [loaclhost:5000][9]. Install [heroku toolbelt][8], do `$ foreman start` and go to [localhost:5000][9].


# Testing # Testing


Expand All @@ -43,14 +45,12 @@ Further hints are available via [autotest-inotify][6] (hard disk and CPU friendl
Clone, bundle install, commit and push to heroku: Clone, bundle install, commit and push to heroku:


$ git clone git@github.com:netzfisch/yasapp.git $ git clone git@github.com:netzfisch/yasapp.git
$ bundle install $ bundle install # '--without production' for local deployments!
$ git init $ git init
$ git add . $ git add .
$ git commit -m “commit Sinatra Template App” $ git commit -m “commit Sinatra Template App”
$ heroku create sinatra-template-app $ heroku create sinatra-template-app
$ git push heroku master $ git push heroku master

Momentarily live deployed at heroku under [YaSApp][3].


[1]: http://rubylearning.com/blog/2013/12/28/a-free-online-course-on-sinatra-12th-batch/ [1]: http://rubylearning.com/blog/2013/12/28/a-free-online-course-on-sinatra-12th-batch/
[2]: http://rubylearning.com/ [2]: http://rubylearning.com/
Expand Down

0 comments on commit 6fef78f

Please sign in to comment.