Home >Web Front-end >JS Tutorial >How to implement the deployment of keystoneJS backend management system
The content shared with you in this article is about how to implement the deployment of keystoneJS's backend management system. The content is very detailed. Next, let's take a look at the specific content. I hope it can help everyone.
node environment (node, npm, nvm management is recommended)
pm2 installation (npm install - g pm2)
nginx installation
redis installation
mongo installation
Download code (git clone)
Create config.js()
npm install(project directory)
Configure nginx reverse proxy
pm2 start bin/www
$ mongo --host xxx -u adminUserName -p userPassword --authenticationDatabase admin
$ mongo xx.xx.xx.xx:xx/admin -u mongouser -p ****
Modify ./node_modules/elemental/less The value of @app-primary in /variables.less (modify the theme color)
Modify the primary value in theme.color in ./node_modules/keystone/admin/client/theme.js Value (modify the control theme color) (note that the compiled file is deleted after modification)
Related recommendations:
Analysis of dynamically loaded modules by webpack import()
Detailed analysis of SFC and vue-loader in Vue
The above is the detailed content of How to implement the deployment of keystoneJS backend management system. For more information, please follow other related articles on the PHP Chinese website!