payload cms

 root@vmi728455:/home/certificate.url24.top/public_html# sudo npx create-payload-app

sh: 1: create-payload-app: Permission denied


create a folder then from inside the folder run cmd


npx create-payload-app


vi server.js


change port to 3001


also


 vi payload.config.js


  serverURL: 'http://localhost:3001',

change localhost also and add https else mixed conetent

 serverURL: 'https://certificate.url24.top:3001',


also to this


serverURL: 'https://certificate.url24.top

node server.js


 chwon -R certi1731:nogroup public_html


else you will get not found error

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation