https://github.com/nickserv/witchcraft
A simple application skeleton for Sinatra, inspired by Express.
https://github.com/nickserv/witchcraft
Last synced: 12 months ago
JSON representation
A simple application skeleton for Sinatra, inspired by Express.
- Host: GitHub
- URL: https://github.com/nickserv/witchcraft
- Owner: nickserv
- License: mit
- Created: 2014-04-14T19:38:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T05:25:56.000Z (over 3 years ago)
- Last Synced: 2025-03-10T11:07:51.938Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Witchcraft
==========
A simple application skeleton for Sinatra, inspired by Express.
Installation
------------
1. Install Ruby (I recommend the latest Ruby, but 1.9 and later should work).
2. Install Bundler with `gem install bundler`.
3. `bundle`
Running the Server
------------------
### Development
ruby app.rb
This will default to port 3000.
### Production
bundle exec rackup
I recommend changing the default port with `-p`.
### Heroku
[](https://heroku.com/deploy)