Project

devproxy

0.0
No commit activity in last 3 years
No release in over 3 years
https://devproxy.io client gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 2.6.7
 Project Readme

Devproxy Build Status

devproxy.io client used for tunneling connections from a public domain (https://example.devproxy.io) to your local machine.

Installation

Add this line to your application's Gemfile:

gem 'devproxy'

And then execute:

$ bundle

Or install it yourself as:

$ gem install devproxy

Usage

Create an account on devproxy.io and upload your ssh public key.

To tunnel connections for username.devproxy.io to port 3000 on your local machine, run:

$ devproxy username

You can specify the local port with -p:

$ devproxy username -p 5000

If the host that you want to tunnel is not the same as your devproxy.io username, specify the hostname as the second argument:

$ devproxy username proxyname

devproxy comes with a server for testing. enable it with the --test-server flag:

$ devproxy username proxyname -p 5000 --test-server

Rails

Start up your tunnel in a separate terminal or use a foreman Procfile:

devproxy: bundle exec devproxy example -p 3000
web:      bundle exec rails s -p 3000

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request