Skip to content

FennyLiang/cargocms

Repository files navigation

Cargo CMS

Installation

npm -g install babel-cli

npm install

Run

npm run build

npm start

Ports

  • 5001 development sails server
  • 5002 development react admin dev server
  • 5011 production sails server

References

Issues

EJS JS/CSS Injection Issues

http://stackoverflow.com/questions/6609238/is-there-a-way-to-add-css-js-later-using-ejs-with-nodejs-express

use Cloud front

need to set cors.origin

ex:

cors.origin: 'http://cargo.trunksys.com, https://cargo.trunksys.com',