https://github.com/slashpai/hello_world
A basic sinatra app
https://github.com/slashpai/hello_world
Last synced: 6 months ago
JSON representation
A basic sinatra app
- Host: GitHub
- URL: https://github.com/slashpai/hello_world
- Owner: slashpai
- Created: 2018-11-27T13:54:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T13:59:24.000Z (about 7 years ago)
- Last Synced: 2025-05-17T15:38:59.515Z (8 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello World App
Based on learnings from [Udacity course](https://www.udacity.com/course/dynamic-web-applications-with-sinatra--ud268) and reading [documentation](http://sinatrarb.com/documentation.html)
## Steps
* Go to directory `hello_world`
* Install bundler if not already
```bash
gem install bundler
```
* Install required gems
```bash
bundle install
```
Run `ruby app.rb` and hit [url](http://localhost:4567) to see the page on browser
**Note:** This app on master branch is based on [modular style](https://github.com/sinatra/sinatra/#sinatrabase---middleware-libraries-and-modular-apps). A basic format in classic style is in branch **classic_style**