Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1002 Bytes

deploy-on-web-cezerin-configs.md

File metadata and controls

49 lines (39 loc) · 1002 Bytes

8. Cezerin configs changes:

You must edit cezerin configs and setup new domain name at configs.

/cezerin2/config/server.js

Change:

http://localhost:3000 to https://your-domain-name.com
http://localhost:3001 to https://your-domain-name.com
http://localhost:3002 to https://admin.your-domain-name.com

/cezerin2-store/config/store.js

Change:

http://localhost:3001 to https://your-domain-name.com

/cezerin2-admin/config/admin.js

Change:

http://localhost:3001 to https://your-domain-name.com

Change:

ws://localhost:3001 to wss://your-domain-name.com

Rebuild & restart apps with new configs:

cezerin (backend app does not need to be build, just reload):

pm2 reload api

cezerin2-store:

npm run build
pm2 reload store

cezerin2-admin:

npm run build
pm2 reload admin

P.S. Example of configs for cezerin.org domain you can download here cezerin2-config-sample.zip