devproxy.io client used for tunneling
connections from a public domain (https://example.devproxy.io
) to your
local machine.
Add this line to your application's Gemfile:
gem 'devproxy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install devproxy
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
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request