Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running more than Rails apps on a local Mac

I would like to set up multiple Rails apps running simultaneously.

I'm using a basic installation with Rails and Mongrel. I'm pretty newbie when it comes to a server side thing.

What kind of options do I have to run multiple Rails app running at the same time on a local Mac?

like image 756
TK. Avatar asked Dec 06 '22 03:12

TK.


1 Answers

The only thing that stops you from running multiple rails apps on one machine is the ports.

If you want to run several apps while developing just use script/server -p <port number> for each of the apps.

If you have a production machine set up, I would recommend you to use phusion passenger with apache or nginx, and set up different virtual machines (or ports)

like image 81
Jimmy Stenke Avatar answered Dec 19 '22 16:12

Jimmy Stenke