Is it possible to run multiple rails apps from inside one Cloud9 IDE project? For example, I have the following structure...
MyApp (C9 Project)
- MyApp-API (Rails/Grape)
- MyApp-Web (Rails)
When I run rails server -p $PORT -b $IP
via terminal in C9 in the respective app directories (i.e., MyApp-API, MyApp-Web) they both appear to be running. However, when I do cURL requests or try browsing directly I am not able to reach routes as expected.
I assume it's because I'm running the rails servers with the same port/ip configurations.