Install the pagoda in Linux
Pagoda installation: www.bt.cn/btcode.html
Centos Installation Script
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
Copy the code
Ubuntu/Deepin installation script
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
Copy the code
After the pagoda is installed, if the following page is displayed, the pagoda is successfully installed
Installation environment
Log in to the Pagoda system and install nginx+pm2+mysql with one click
Front-end code deployment
Then enter the menu website, create a new site, add their own application for good domain name, if there is no domain name, you can fill in a false (such as a.com), create a good site, in the domain name management inside, fill in their own IP plus port, you can access your site through IP.
Once you’ve created your site. Go to the site root directory and drag your packaged front-end code to upload.
Once the front-end code was uploaded, we entered our domain name into the browser and saw our front-end project.
Back-end code deployment
Open the pM2 manager of the software list on the home page, add a project, fill in the corresponding startup file, running directory, project name
Then click on the directory, go to the project folder, and drag our packed Node code to upload
Finally, the website remembers to set up the proxy, and can access the interface.