Home > Development Tools > git > body text

Detailed explanation of the steps to set up Gitee applet

PHPz
Release: 2023-03-31 10:29:42
Original
885 people have browsed it

Gitee is a very good open source platform that not only supports code hosting, but also has many functions such as Wiki, blog, email, CI/CD, etc. For mini program developers, Gitee also provides mini program settings. Today we will explain in detail the steps to set up the Gitee applet.

Step one: Create a new mini program

First, we need to create a new mini program on Gitee. Open the Gitee homepage, click "New Warehouse", and select "Mini Program" in "Warehouse Type".

On the "Create New Mini Program" page, fill in the basic information of the mini program, such as the mini program name, description, logo, etc. After filling in, click "Create".

Step 2: Configure the applet

After the creation is completed, we need to configure the applet. Enter the mini program you just created and click the "Settings" button to enter the mini program settings page.

In the mini program settings page, there are multiple options that need to be configured:

Basic information

The basic information of the mini program requires filling in the mini program name, mini program ID, Version number, description, icon, developer information, etc. This information will be displayed on the mini program's details page. Except for the mini program ID, all other information can be modified later.

Security Settings

In the security settings, you can set the access permissions of the mini program, authorized domain name, JS interface security domain name, etc.

Settings

In the settings, you can configure template messages, customer service messages, card and coupon functions, etc.

Alarm settings

Alarm settings can set abnormal alarms during the running of the mini program to facilitate troubleshooting.

QR code

The QR code of the mini program can be generated on the QR code page to facilitate user access.

Step 3: Upload the code

After the mini program is configured, we need to upload the code to Gitee. In the mini program details page, we can find the address of the mini program warehouse.

After cloning the applet code locally, you can develop and debug it locally. After development is completed, we need to upload the code to Gitee. Just run the following command in the local directory:

git add .
git commit -m "upload code"
git push origin master
Copy after login

At this point, we have successfully uploaded the code to Gitee.

Step 4: Submit for review

After the code upload is completed, we need to submit the mini program for review. On the mini program details page, find the "Submit for Review" button and click to enter the review page.

On the review page, you need to fill in the basic information and permission information of the mini program. After passing the review, the mini program can be launched online.

Through the above four steps, we have successfully configured the mini program to Gitee and put the mini program online. Using Gitee for small program development can facilitate version control, collaborative development, etc., bringing greater convenience to the development and iteration of small programs.

The above is the detailed content of Detailed explanation of the steps to set up Gitee applet. For more information, please follow other related articles on the PHP Chinese website!

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!