https://github.com/miry/geminabox_web_server
An sample to Run https://github.com/geminabox/geminabox
https://github.com/miry/geminabox_web_server
Last synced: about 1 year ago
JSON representation
An sample to Run https://github.com/geminabox/geminabox
- Host: GitHub
- URL: https://github.com/miry/geminabox_web_server
- Owner: miry
- License: mit
- Archived: true
- Created: 2014-06-03T08:59:22.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T11:55:46.000Z (almost 12 years ago)
- Last Synced: 2025-02-16T14:25:28.936Z (over 1 year ago)
- Language: Ruby
- Size: 180 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Geminabox Sample Web Server
===========================
An sample how to Run https://github.com/geminabox/geminabox with proxy feature.
The gems directory is `gems`. Create link to point this folder to correct one.
```bash
ln -s /path/to/gems gems
```
To run Rack server for unicron:
```bash
$ WEB_CONCURRENCY=8 unicorn -c config/unicorn.rb -p 8080
```
For Puma:
```bash
$ puma config.ru -w 8 -p 8080
```
Where **8** is the number of workers.
After you run the application you can go to http://localhost:8080.
Add source to system or Gemfile:
```bash
gem sources -a http://host.local:8080/
```
sample of `Gemfile`:
```ruby
source "http://host.local:8080"
gem 'rails'
```