I fetched a GIT repo of an existing EspoCRM project. it works as it is hosted and accesable.
I need to do some work on the app hence i fetched on my local machine (macos) to develop new features (I have never done any EspoCRM stuff)
After fetch, i uploaded mysql dump, changed DB configs, I checked all php libs to be enabled, version, etc - all seems to be fine.
If I try to run the app - in the browser i dont see the app.
If I start the application like `php -S 127.0.0.1:8080` than it shows me the EspoCRM setup screen to set apatche rewrite rules. but its localhost, there is no apatche.
if i start the application like `php -S 127.0.0.1:8080 -t public` - all I see it copyright text. Also a bunch of missing css/js files (404)
If I start the application like `php -S 127.0.0.1:8080 -t client` - it seems I see the base layout (header is purple color just as in production (hosted) app) but it says `The requested resource / was not found on this server.` (makes sense since no `index` file in the `client` directory.
I did try to move it into a mamp (free version) htdocs under `crm` directory, but when accessing it, i see the same `You need to configure your webserver in order to being able to run EspoCRM` text (same as starting an app via `php -S 127.0.0.1:8080`)
No other logs/errors are present.
I also just ftp pulled all the files as a test and its the same deal.
OS: MacOS Sonoma
php version: 8.3.7
php libs (specified in the docs): all enabled
DB: mysql
using MAMP (free version)
I cant find anything in the EspoCRM docs of how to launch the app on a local machine (macos) so I assume I should launch it somehow differently but dont know how.
I need to do some work on the app hence i fetched on my local machine (macos) to develop new features (I have never done any EspoCRM stuff)
After fetch, i uploaded mysql dump, changed DB configs, I checked all php libs to be enabled, version, etc - all seems to be fine.
If I try to run the app - in the browser i dont see the app.
If I start the application like `php -S 127.0.0.1:8080` than it shows me the EspoCRM setup screen to set apatche rewrite rules. but its localhost, there is no apatche.
if i start the application like `php -S 127.0.0.1:8080 -t public` - all I see it copyright text. Also a bunch of missing css/js files (404)
If I start the application like `php -S 127.0.0.1:8080 -t client` - it seems I see the base layout (header is purple color just as in production (hosted) app) but it says `The requested resource / was not found on this server.` (makes sense since no `index` file in the `client` directory.
I did try to move it into a mamp (free version) htdocs under `crm` directory, but when accessing it, i see the same `You need to configure your webserver in order to being able to run EspoCRM` text (same as starting an app via `php -S 127.0.0.1:8080`)
No other logs/errors are present.
I also just ftp pulled all the files as a test and its the same deal.
OS: MacOS Sonoma
php version: 8.3.7
php libs (specified in the docs): all enabled
DB: mysql
using MAMP (free version)
I cant find anything in the EspoCRM docs of how to launch the app on a local machine (macos) so I assume I should launch it somehow differently but dont know how.
Comment