Tajveez
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
nvm, graphql was breaking at Magento's end which was causing middleware to break. fixed that and its working perfectly. Thanks for help @rohrig 🙌 .
14 replies
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
@rohrig Do Magento and VSF need to be on same server? In ngnix
error.log
i see the following errors.
Also can you guide:
VSF is starting middleware at 0.0.0.0:8181
and in .env
we are setting following variables for middleware:
Does VSF automatically map to that or do we need to add reverse proxy for port 8181
?14 replies
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
ran
yarn start:middleware
command but it started middleware at 0.0.0.0:8181
when variables API_BASE_URL
and API_SSR_BASE_URL
set in .env
file.
i checked the code at middleware.js
file:
guess its picking default values.14 replies
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
i don't think it starts the middleware. do i need to only run
yarn start:middleware
or both yarn start
and yarn start:middleware
?14 replies
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
yes, project is there. and
node, npm, yarn
are installed.
I am using ngnix
so i have already mapped localhost:3000
in ngnix configuration.
I have set Magento
Url in .env
file but when i run yarn build && yarn start
I see VSF application but with message error occured
. I checked network tab api/magento/route
is throwing 502
error. I guess API is not running. Did i missed any step or am i doing something wrong?14 replies
AAlokai
•Created by Tajveez on 6/7/2023 in #🙋|general-help
Deployment guide
Thanks @rohrig , but this seems to be from DigitalOcean UI. i am doing this via ssh.
14 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
it worked!!! Thanks guys
20 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
let me check.
20 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
no opened with text editor. but same in cat command.
from error text it seems the script is using
rmdir
command to delete file .env.example
which fails because .env.example
is a file not a directory.20 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
yeah
20 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
Hi @skirianov , yes i am selecting no to install Magento locally.
Following text is from
CLI_logs.txt
20 replies
AAlokai
•Created by Tajveez on 6/5/2023 in #🙋|general-help
Getting error while installing Vue-storefront by using CLI
yes i do.
Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
docker-compose version 1.29.2, build unknown.
I tried CLI with installing magento2 docker error as well but it gave permission error so i installed magento2 docker manually.
20 replies