I have 2 rails applications that live inside the same git repo.
There is a shared folder where common logic lives.
- app_1
- shared
- app_2
The shared
folder is really just a symlink to the appropriate places inside the app_1
folder. There is also a shared_public
folder that is symlinked to app_1/public/files
and app_2/public/files
.
How can I do this? I'm open to anything, it's a clean slate. The project was never deployed previously, so I don't have a existing infrastructure to rely on. And splitting the shared logic out is (unfortunately) not an option currently, because of the timeframe I have to work with.