Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

prax on ubuntu machine for RoR

Has anyone successfully installed and configured 'prax' https://github.com/ysbaddaden/prax ? I have tried configuring it on multiple pc but no success.

There is pow but it works only on OSX. If any other alternative please share.

like image 582
parthc Avatar asked Sep 26 '13 11:09

parthc


1 Answers

First, install Prax and configure your apps as stated on its GitHub.

To know if actually is working, ping to a desire app.

ping myapp.dev

It should ping to your loopback (127.0.0.1). If this is not your case, check again.

Then follow this steps:

1) Restart your server

2) Restart your browser. If you are using Chrome, you might need to clear the cache (as stated on: https://github.com/ysbaddaden/prax/issues/51 and Pow domains not loading in Chrome)

3) Launch the app:

http://myapp.dev/

It is important that the first time you use the http:// prefix.


If you are using Rails (which server Webrick defaults to port 3000, you should add this port to the URL, (I couldn't figure it out how to avoid this):

http://myapp.dev:3000/
like image 65
sequielo Avatar answered Oct 16 '22 17:10

sequielo