https://github.com/pixelhandler/sinatra-redis-server
Sinatra app to serve index page from redis
https://github.com/pixelhandler/sinatra-redis-server
Last synced: 6 months ago
JSON representation
Sinatra app to serve index page from redis
- Host: GitHub
- URL: https://github.com/pixelhandler/sinatra-redis-server
- Owner: pixelhandler
- Created: 2016-05-21T21:06:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-08T03:49:46.000Z (over 9 years ago)
- Last Synced: 2025-04-05T00:15:47.742Z (10 months ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sinatra-redis-server
Sinatra app to serve index.html page from Redis and assets from public folder
bundle install
bundle exec rackup -E production -p 4567 -s thin -D
Or in development
bundle exec rackup -p 4567 -s thin
If needed, pass in a Redis url (as ENV var)
REDIS_URL='redis://localhost:6379' && bundle exec rackup -E production -p 4567 -s thin -D
A log file is generated at /logs/sinatra.log
## Configure your app
In `app.rb` set the name of the app (See your Ember.js app's package.json file)
project = "my-app"
## Links
- [lightning-strategy-examples/#example-sinatra-app]
[lightning-strategy-examples/#example-sinatra-app]: http://ember-cli-deploy.github.io/ember-cli-deploy/docs/v0.6.x/lightning-strategy-examples/#example-sinatra-app