Sha256: 493dec794633a244de588cf2d28fb9cbf1dace67f37d28e9dfab9b2781e11b2f
Contents?: true
Size: 725 Bytes
Versions: 1
Compression:
Stored size: 725 Bytes
Contents
# radical A rails inspired ruby web framework # Learning Check out the `examples/` folder for some ideas on how to get started and when you're ready, check the `docs/` folder for more details. # Quickstart Create a directory with a `config.ru` and a `Gemfile` file inside of it ```sh mkdir your_project cd your_project touch config.ru Gemfile ``` Put this inside of the `config.ru` ```rb require 'radical' class Home < Radical::Controller def index plain '/' end end class Routes < Radical::Routes root 'Home' end class App < Radical::App routes Routes end run App ``` Install the gems and start the server ```sh gem install radical puma puma ``` Test it out ```sh curl localhost:9292 # => / ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radical-1.1.0 | README.md |