In September 2020, Qianyue Film and Television dual-terminal app source code comes with a tutorial#160;Double-terminal construction tutorial#160;#160;Double-terminal demonstration#160;#160;#160;#160;#160;#160;#160 ;#160;#160;#160;#160;#160;
1. Replace domain name, APP name and API ID:
Globally search the following URL http://99.ry998.cn and replace it with your URL http://www.xxx.com. After replacing the domain name, replace the APP name: Xinqi Film and Television #160; with your own APP name! You need to use a software here, notepad++. Read the tutorial carefully. After installing the software, click Search on the menu bar----Replace
When the replacement box appears, select [File Search], as shown in the picture below, follow the serial numbers I marked, be careful not to make the wrong substitution, it is very important. Tip: If the source code you download is a compressed package, please unzip it first
The directory must be selected with a front-end, back-end and database!
Modify the config.xml file in the front-end folder and replace the ID in it with the ID in your own APICloud!
2. Preparation work before compilation:
#160;1. Register an account on the compilation platform
https://www.apicloud.com2, APP name
XX Film and Television, you can define this name yourself, this name will be displayed after installation 3, APP icon
Require:
*Upload a png format picture with a size not exceeding 1M, equal aspect ratio and ranging from 50px to 200px #160;4, APP startup page picture
Require:
The required size is 10801920 (length between 1720px-2120px, width between 880px-1280px). The system will intelligently adapt to models with resolutions of 6401136, 640960, 15362048, 8001280, 7201280, 400*800 and other resolutions to help you quickly create application. #160;5. To upload code, you need to use TortoiseSVN (commonly known as #8220;Little Turtle#8221;) tool. Please download the tool from the official website: https://tortoisesvn.net/downloads.html
If your English is not very good, it is recommended to download a language pack and install it:
6. Prepare your domain name
3. Create an application:
1. Log in to the packaging website https://www.apicloud.com 2. Create an application, as shown in Figure 3. Click on the application you created on the left side, as shown in Figure 4. There are five places that need to be set to compile the APP. Continue reading. Tutorial
#160;5. Terminal settings (set icon and startup image)#9312;Set APP icon#9313;Set startup image. If you want to make your own image, carefully look at the image size requirements
#160;6. Create a certificate for Android and buy the certificate for iOS. Our store only includes Android and not iOS. Certificate signing on iOS is too expensive and unstable. Please don't ask me how to get it on ios. Thank you all. 1-Android certificate, see the picture below to create 2-Apple certificate. Note: If you don't have a certificate, you can ignore this step.
#160;
#160;7. How to upload the code to Code Cloud, please read the tutorial below carefully.
Here we need to use the little turtle tool that we downloaded before:
Open your APICloud and enter the APP you created, click on the code:
Copy the SVN link:
Then open the front-end source code that replaced the domain name and APP name before
Right-click on any file and select TortoiseSVN-Version Browser
The SVN link just copied will be automatically filled in, click OK.
You will be asked to enter your username and password here. The username is the email address you used when registering for APICloud! Password: Get the branch password from where you just copied the SVN link!
#160;After logging in, the files inside are the system files in the APP created by APICloud. You must select and delete them all (this step is very important)
After the deletion is successful, select all the front-end source code, drag it to TortoiseSVN, then select Import, OK, wait a few minutes, and when the file appears and no errors are reported, you can click OK. The front-end source code has been uploaded successfully!
8. Add the 7 modules in the picture below, do not add other modules
UIPullRefreshFlash#160;shareAction#160;#160;dialogBox#160;webBrowser#160;clipBoard#160;wx#160;mamThe method of adding a module is as shown in the figure
Module library-#62;Enter the name of the module in the search box (circled in the picture above)-#62;After searching, click Add (see picture) 9-Compile APP#160;1. Fill in the name of the APP, which will be displayed after installation. Name 2, select category, you can choose any one 3, choose to compile for ios or Android, you can choose both to compile at the same time. Note: Cancel all permissions, do not select 4, select the official version, all other options are default 5. Click Cloud Compile (usually 80 seconds, if there are people in line in front, please wait patiently) 6. How to download after compilation is completed? The link opens as shown in the picture
At this point, the front-end tutorial is completed!
Backend: 1. Look carefully, follow the serial number and select the website
#9313;, add site
#9314;, set domain name
#9315;, select the directory of the files you extracted.
#9316;, PHP version can be selected from 5.6-7.1, and PHP can be installed in the Pagoda backend with one click. 2. If you have installed Pagoda, you can directly upload the compressed package after being compressed. 3. After the upload is successful, decompress the file as shown in the figure. 4. Pseudo-static must be configured here, otherwise the website cannot be opened directly, because the background system is written by thinkphp and contains heavy files. Write rules, so pseudo-static must be set, pseudo-static must be set, pseudo-static#9312;, select the website you added#9313;, pseudo-static
#9314;, choose thinkphp
#9315;, save #9316;, note that the PHP version must be 5.6-7.1, and cannot exceed 7.1#9317;, set the file permission group to www, do not set it to root, generally it will belong to www by default, do not modify it unless there are special circumstances User group permissions #9318; If you need to set it, just select www. Please keep the defaults for the others.
#160;5-Create database #160;Add the database directly in the pagoda and follow the steps as shown in the figure 6-Background installation
#160;Import database file to modify database configuration 7-Backend address#160;Default backend address
Your domain name/login/login/mike
Account: admin
Password: 123456
That’s all done now, thank you all for your support! !