https://github.com/socketry/falcon-rails-example
https://github.com/socketry/falcon-rails-example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/socketry/falcon-rails-example
- Owner: socketry
- Created: 2023-10-04T23:23:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T09:30:23.000Z (over 1 year ago)
- Last Synced: 2024-05-08T18:25:48.522Z (over 1 year ago)
- Language: Ruby
- Size: 1.28 MB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Falcon Rails Example
This repository contains an example Rails application that uses Falcon as the web server. It also demonstrates how to use the `console` gem for logging, and how to use the `traces` gem for request tracing.
## Usage
Migrate the database:
```
> bin/rails db:migrate
```
`redis-server` should be running on localhost for all the examples to work.
Then start the server using `falcon` directly:
```
> bundle exec falcon serve
```
This will bind to HTTPS / port 443.