This is the 21st day of my participation in the November Gwen Challenge. Check out the event details: The last Gwen Challenge 2021
The use of tools
phpEnv
Specific steps
Step 1: Obtain the source code of the portal application
1. Open the official website kancloud.cn/thinkcmf/fa… | installation, click on the left side of the mail configuration portal application, click on the download code code on the right side of the cloud, the clone source code on the workstation
Note: on how to clone the source code do not understand small partners can refer to the native installation of ThinkCMF system article first step
Step 2: Install the Portal code
1. Copy the API, APP, and public folders in the portal folder on the workstation.
2. Put the three folders into the thinkCMF directory on the workstation, paste them, and directly replace the original files.
Step 3: Execute the Portal database file (the database file to install the portal application)
In editor opens in workstations thinkCMF/app/portal/data/directory portal. SQL file, selection and copy;
2. Open phpEnv database management tool, open thinkCMF database, click Query, paste the code copied above into this text box, paste and run;
Step 4: Install and enable the foreground template
1. Visit test.com/admin/ and enter the password to log in (the password is the content involved in the last step of the article about installing ThinkCMF system on this machine);
2. After the login is successful, locate template management in the Settings directory on the left, click Install Templates on the right, and click Install Config to enable a new template.
Step 5: Import the background management menu
1. Click the background menu button (the button is located at the far right of the top five buttons in the left sidebar);
2. Click all menus to import a new menu. Click next Application.
3. Refresh the page and check whether a menu named Portal Management is displayed on the left. If the menu is displayed, the installation is successful.
4. Click the home page button (the left-most of the five buttons at the top of the left sidebar) to check whether the home page template has been changed. If yes, the template is successfully started. If not, go back to Step 4, point 2 to see if the template is enabled.
Note: this article is the connection of the article about the installation of ThinkCMF system on the machine. You can operate the specific steps of the previous article first, and then execute the specific steps of this article for a deeper understanding.
That was the introduction to the ThinkCMF portal application installation. Do not know whether it is helpful to small partners?
See you next time!