Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simp

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

  1. In your app directory, create a file named Gemfile for bundle

  2. create 'config.ru' file and copy the following code:

require 'simp'
run Simp::Application.new

  1. 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>
  1. rackup

  2. Browser your web app in http://localhost:9292

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simp.

FAQs

Package last updated on 22 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc