https://github.com/bahanix/sinatra-clean
Learn Sinatra, step 4
https://github.com/bahanix/sinatra-clean
demo-app ruby sinatra
Last synced: about 1 year ago
JSON representation
Learn Sinatra, step 4
- Host: GitHub
- URL: https://github.com/bahanix/sinatra-clean
- Owner: Bahanix
- Created: 2015-07-23T15:46:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-28T13:51:32.000Z (almost 11 years ago)
- Last Synced: 2025-04-11T21:52:19.385Z (about 1 year ago)
- Topics: demo-app, ruby, sinatra
- Language: Ruby
- Homepage: http://discourse.simplon.co/t/le-mini-framework-sinatra/85
- Size: 117 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quick start
```
git clone https://github.com/Bahanix/sinatra-crud.git
cd sinatra-crud/
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec ruby app.rb -o 0.0.0.0
```
Then goto http://127.0.0.1:4567/
## Useful commands
* `bundle exec rake -T` to show rake tasks
* `bundle exec irb -r ./app.rb` to debug your app