-
Notifications
You must be signed in to change notification settings - Fork 120
Preferred Folder Structure and Config
Raja Kapur edited this page Feb 15, 2014
·
1 revision
Ideally users of this project would make separate VirtualHosts to a Magento instance, a separate VirtualHost to the /api/public
folder, and a separate VirtualHost to the /store/
folder. And update the config.json
with the new host/paths.
- doc_root ->
/var/www/magento
- doc_root ->
/var/www/moa/api/public
(VirtualHost) www.example.com
- doc_root ->
/var/www/moa/store
{
"socket": {
"port": "8888",
"host": "www.example.com"
},
"magento": {
"path": "/var/www/magento",
"host": "http://magento.example.com",
"store": "0"
},
"api": {
"host": "http://api.example.com",
"provider": "magento"
}
}