In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to build Mini Program on a CVM". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought. Let's study and learn "how to build Mini Program on a CVM".
1. Prepare domain names, servers, and certificates in advance
Mini Program management backend service needs to browse according to HTTPS. Before we start building, we need to prepare the domain name, server and SSL certificate in advance. After the domain name and server are purchased and implemented, make a record first, and then resolve the domain name to the CVM. After the SSL certificate is approved, you can download the certificate document from the control panel and equip the server with the certificate.
two。 Constructing the running Environment of WeChat Mini Programs
If you are not a Mini Program developer, please first apply for registration on Wechat public platform. According to the guide to fill in the information content and submit the corresponding materials, you can have your own Mini Program account.
If you have applied for registration, log in to the official account of Wechat, and then go to Settings-Development Settings-Server Domain name-modify. After scanning the QR code to check the real identity, both the request legal domain name and the socket legal domain name are filled in the detailed address of the prepared domain name. After the equipment is implemented, click Save and submit.
3. The project code that runs Mini Program
Download the experimental source code and WeChat Mini Programs development environment. After downloading the source code, please extract the file to the local working file directory.
After downloading the development environment, install and run it, and then log in quickly with Wechat. After logging in, select the local Mini Program project-add the project and fill in the following:
AppID: after filling in the AppID of Mini Program, please log in to the official account of Wechat and query in Settings-developer Settings-developer ID.
Project name: fill in your favorite name
Project file directory: select the matching source code file directory that just extracted the file (file directory includes app.js)
After filling in the implementation, click and add the project.
The server is equipped with Mini Program data transmission module. Naturally, the actual equipment varies according to different environments, and everyone can explore the relevant Mini Program back-end development materials on their own.
Thank you for your reading. The above is the content of "how to build Mini Program on a CVM". After the study of this article, I believe you have a deeper understanding of the problem of how to build Mini Program on a CVM. The specific usage still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.