CodeboxIDE / codebox

Open source cloud & desktop IDE
https://www.codebox.io
Apache License 2.0
4.12k stars 590 forks source link

How to run web Ruby on Rails #402

Open ghost opened 10 years ago

ghost commented 10 years ago

I create a box called "ABC" for example, then I go inside workspace and "rails create xyz". How can I run this web on codebox?

Note: I am able to "rails s" to start the server but I don't know how to open the web

Thank you very much

wprudencio commented 10 years ago

I dont know anything about rails, but if your server is running, go to Project > Refresh Ports and Project Running Ports.

ghost commented 10 years ago

Thank you, but it's not work. Nothing show up when I choose Running Ports

jmccaffrey commented 10 years ago

I'm able to fire up a server and bind ports, and fire up rails and see the app running. I have been having issues with network connectivity and the terminal flaking out on me, so if you are having that problem, you'd likely see that lots of stuff doesn't work well.

Here's a screencast where I show: firing up a simple server to browse files ruby -run -e httpd . -p 3000 Firing up a Rails 4 app using tmux to keep your terminal a bit more stable http://screencast.com/t/urGAY1wmJq