How to deploy the backend code of the mini program

angryTom
Release: 2020-03-31 15:56:52
Original
6468 people have browsed it

How to deploy the backend code of the mini program

How to deploy the back-end code of the mini program

The mini program code is divided into front-end and back-end.

Front-end code: You need to use "WeChat Developer Tools" to upload it to WeChat official review;

Back-end code: The code directory is generally Under the root directory of wwwroot (here we take Alibaba Cloud Server as an example), there is no clear rule on which directory of wwwroot should be set, because the access path is bound to the domain name, which is completely based on your own needs. to set.

But one thing is that the "URL" path in the mini program's front-end source code must match your domain name URL path.

Deployment method is: upload the back-end code of the mini program to the server wwwroot directory through FTP and other tools.

PHP Chinese website, a large number of free small program development tutorials, welcome to learn!

The above is the detailed content of How to deploy the backend code of the mini program. 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