Simp
Simp is NOT A WEB FRAMEWORK.
Simp is something for really tiny app or beginer to learn web development.
Installation
Add this line to your application's Gemfile:
gem 'simp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simp
Usage
-
In your app directory, create a file named Gemfile for bundle
-
create 'config.ru' file and copy the following code:
require 'simp'
run Simp::Application.new
- create your app files ending with 'html.erb'
$ touch index.html.erb
For example:
#index.html.erb
<%
@hello = "hello"
@world = "world"
%>
<html>
<head>
<title>Simp is not a web framework.</title>
<head>
<body>
<%= @hello + ", " + @world %>
</body>
</html>
-
rackup
-
Browser your web app in http://localhost:9292
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simp.