Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Installation #105

Open
paulchill opened this issue Oct 22, 2015 · 2 comments
Open

Problems with Installation #105

paulchill opened this issue Oct 22, 2015 · 2 comments

Comments

@paulchill
Copy link

Hi

I am trying to test this to prototype a new store but i am having problems with the installation.

I am running this on an aws server with no DNS and just from an IP.

my Config.Json is:

{
"socket": {
"port": "80",
"host": "localhost"
},
"magento": {
"path": "/magento",
"host": "localhost",
"store": "0"
},
"api": {
"host": "http://localhost/moa/api/public",
"provider": "magento"
}
}

My Vhost file in apache is:

<VirtualHost *:80>
ServerName magento
DocumentRoot /var/www/magento
<Directory /var/www/magento/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All


<VirtualHost *:80>
ServerName api
DocumentRoot /var/www/moa/api/public
<Directory /var/www/moa/api/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All


<VirtualHost *:80>
ServerName localhost
DocumentRoot /var/www/moa/store
<Directory /var/www/moa/store/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All

The store loads up but the node server wont start either, i get a 404 for any /api/ requests?

@vrkansagara
Copy link

I can fix your problem connect me via @vrkansagara and share details. thanks

@vrkansagara
Copy link

My current config.json looks like as bellow.

{
    "socket": {
        "port": "8080",
        "host": "Magento-On-Angular.com"
    },
    "magento": {
        "path": "/home/vallabh/www/magento",
        "host": "http://magento.Magento-On-Angular.com.com",
        "store": "0"
    },
    "api": {
        "host": "http://api.Magento-On-Angular.com.com",
        "provider": "magento"
    }
}

this will help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants