Home > Web Front-end > JS Tutorial > body text

How to implement the deployment of keystoneJS backend management system

不言
Release: 2018-07-26 10:37:52
Original
1881 people have browsed it

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.

Environment installation:

  1. node environment (node, npm, nvm management is recommended)

  2. pm2 installation (npm install - g pm2)

  3. nginx installation

  4. redis installation

  5. mongo installation

Project deployment:

  1. Download code (git clone)

  2. Create config.js()

  3. npm install(project directory)

  4. Configure nginx reverse proxy

  5. pm2 start bin/www

Connect to the remote mongo server

$ mongo --host xxx -u adminUserName -p userPassword --authenticationDatabase admin
Copy after login
$ mongo xx.xx.xx.xx:xx/admin -u mongouser  -p ****
Copy after login

About keystone theme color customization:

  1. Modify ./node_modules/elemental/less The value of @app-primary in /variables.less (modify the theme color)

  2. 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!