File manager - Edit - /home/infoilmg/appsdow.com/appportal-210/codecanyon-25416622-app-portal/documentation/assets/js/32.dd253086.js
Back
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{316:function(e,t,a){"use strict";a.r(t);var s=a(14),n=Object(s.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"getting-started"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[e._v("#")]),e._v(" Getting Started")]),e._v(" "),t("h2",{attrs:{id:"what-is-it"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#what-is-it"}},[e._v("#")]),e._v(" What is it?")]),e._v(" "),t("p",[t("b",[e._v("App Portal")]),e._v(" is an advanced app/software listing script with rich SEO features where you can create your own App Portal in minutes.")]),e._v(" "),t("h2",{attrs:{id:"changelog"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#changelog"}},[e._v("#")]),e._v(" Changelog")]),e._v(" "),t("p",[e._v("App Portal 2.1.0 Changelog")]),e._v(" "),t("ul",[t("li",[e._v("Added: OpenAI Support")]),e._v(" "),t("li",[e._v("Added: Amazon S3 Support")]),e._v(" "),t("li",[e._v("Added: Wasabi S3 Support")]),e._v(" "),t("li",[e._v("Added: Other Apps in the Category")]),e._v(" "),t("li",[e._v("Added: Hreflang Support")]),e._v(" "),t("li",[e._v("Added: RSS Category Support")]),e._v(" "),t("li",[e._v("Added: Categories on Home Page")]),e._v(" "),t("li",[e._v("Added: Bulk Delete Support")]),e._v(" "),t("li",[e._v("Added: Versions on App Edit Pages")]),e._v(" "),t("li",[e._v("Added: Error Pages Customization Support")]),e._v(" "),t("li",[e._v("Added: Categories on Home Page")]),e._v(" "),t("li",[e._v("Added: Custom Sitemaps")]),e._v(" "),t("li",[e._v("Added: Top Bar")]),e._v(" "),t("li",[e._v("Added: Package Name Field")]),e._v(" "),t("li",[e._v("Improved: Localization System")]),e._v(" "),t("li",[e._v("Improved: Slider Design")]),e._v(" "),t("li",[e._v("Improved: SEO")]),e._v(" "),t("li",[e._v("Deleted: Sitemap Ping Feature "),t("a",{attrs:{href:"https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping?hl=en",target:"_blank"}},[e._v("[Details]")])]),e._v(" "),t("li",[e._v("Fixed: Bugs")])]),e._v(" "),t("h2",{attrs:{id:"server-requirements"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#server-requirements"}},[e._v("#")]),e._v(" Server Requirements")]),e._v(" "),t("p",[e._v("Before installing App Portal, please make sure your server meets the following requirements.")]),e._v(" "),t("ul",[t("li",[e._v("PHP 8.0 or 8.1")]),e._v(" "),t("li",[e._v("BCMath PHP Extension")]),e._v(" "),t("li",[e._v("Ctype PHP Extension")]),e._v(" "),t("li",[e._v("JSON PHP Extension")]),e._v(" "),t("li",[e._v("Mbstring PHP Extension")]),e._v(" "),t("li",[e._v("OpenSSL PHP Extension")]),e._v(" "),t("li",[e._v("PDO PHP Extension")]),e._v(" "),t("li",[e._v("Tokenizer PHP Extension")]),e._v(" "),t("li",[e._v("XML PHP Extension")])]),e._v(" "),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),t("p",[e._v("You can find many videos and tutorials on various topics in the members area of our site. Click "),t("a",{attrs:{href:"https://members.foxart.co/",target:"_blank"}},[e._v("here")]),e._v(" to access it.")])]),e._v(" "),t("h2",{attrs:{id:"installation"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[e._v("#")]),e._v(" Installation")]),e._v(" "),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),t("p",[e._v("Simplified installation feature has been added with App Portal v2.1.0. If you have previously installed App Portal, we recommend that you review the steps again.")])]),e._v(" "),t("ol",[t("li",[e._v("Extract the .zip file downloaded.")]),e._v(" "),t("li",[e._v("Upload all files to your server's home directory.")]),e._v(" "),t("li",[e._v("Create a database and import database.sql")]),e._v(" "),t("li",[e._v("Edit the .env file in the lapp folder in the FTP server and set the variables according to your URL, database and SMTP settings.")])]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("APP_URL=http"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),t("span",{pre:!0,attrs:{class:"token comment"}},[e._v("//localhost")]),e._v("\n\n...\n\nDB_CONNECTION=mysql\nDB_HOST="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("127.0")]),e._v("."),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("0.1")]),e._v("\nDB_PORT="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("3306")]),e._v("\nDB_DATABASE="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nDB_USERNAME="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nDB_PASSWORD="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\n\n...\n\nMAIL_DRIVER=smtp\nMAIL_HOST=mail.yoursite.com\nMAIL_PORT="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("465")]),e._v("\nMAIL_USERNAME="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nMAIL_PASSWORD="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nMAIL_ENCRYPTION="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nMAIL_FROM_ADDRESS="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\nMAIL_FROM_NAME="),t("span",{pre:!0,attrs:{class:"token null keyword"}},[e._v("null")]),e._v("\n")])])]),t("p",[t("b",[e._v("Example Configuration")])]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("APP_URL=http"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),t("span",{pre:!0,attrs:{class:"token comment"}},[e._v("//foxart.co")]),e._v("\n\n...\n\nDB_CONNECTION=mysql\nDB_HOST="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("127.0")]),e._v("."),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("0.1")]),e._v("\nDB_PORT="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("3306")]),e._v("\nDB_DATABASE="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"app_portal"')]),e._v("\nDB_USERNAME="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"app_user"')]),e._v("\nDB_PASSWORD="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"Nc8^@59>1M"')]),e._v("\n\n...\n\nMAIL_DRIVER=smtp\nMAIL_HOST=mail.foxart.co\nMAIL_PORT="),t("span",{pre:!0,attrs:{class:"token number"}},[e._v("465")]),e._v("\nMAIL_USERNAME="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"noreply@foxart.co"')]),e._v("\nMAIL_PASSWORD="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"oI58+8+2kj"')]),e._v("\nMAIL_ENCRYPTION=ssl\nMAIL_FROM_ADDRESS="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"noreply@foxart.co"')]),e._v("\nMAIL_FROM_NAME="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"Foxart Studios"')]),e._v("\n")])])]),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIPS")]),e._v(" "),t("ul",[t("li",[e._v('Variables must be written in double quotes. Example: "App Portal" instead of App Portal')]),e._v(" "),t("li",[t("b",[e._v("DB_HOST")]),e._v(" is usually 127.0.0.1 or localhost, but some servers may use different addresses.")]),e._v(" "),t("li",[t("b",[e._v("MAIL_ENCRYPTION")]),e._v(" is usually ssl or tls.")]),e._v(" "),t("li",[e._v("If the SMTP settings are not valid, you will not be able to reset your password, in which case you will need to reset it with phpMyAdmin or a similar application. If you encounter such a problem, review the "),t("a",{attrs:{href:"faq.html"}},[e._v("FAQ")]),e._v(" section.")])])]),e._v(" "),t("ol",{attrs:{start:"5"}},[t("li",[e._v("Change Chmod settings of the following folders to 755:")])]),e._v(" "),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),t("p",[e._v("There is no need to change Chmod settings on most servers. We only recommend changing Chmod settings if you are getting file permission errors.")])]),e._v(" "),t("p",[t("code",[e._v("/lapp/storage/framework")])]),e._v(" "),t("p",[t("code",[e._v("/lapp/storage/logs")])]),e._v(" "),t("p",[t("code",[e._v("/lapp/bootstrap/cache")])]),e._v(" "),t("p",[t("code",[e._v("/images")]),e._v(" "),t("i",[e._v("and the folders under it.")])]),e._v(" "),t("p",[t("code",[e._v("/files")])]),e._v(" "),t("p",[t("code",[e._v("/screenshots")])]),e._v(" "),t("ol",{attrs:{start:"6"}},[t("li",[e._v("That is all, Your site is ready! 🎉")])]),e._v(" "),t("h2",{attrs:{id:"after-installation"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#after-installation"}},[e._v("#")]),e._v(" After Installation")]),e._v(" "),t("p",[e._v("Frontend: "),t("code",[e._v("https://yoursite.com")])]),e._v(" "),t("p",[e._v("Dashboard: "),t("code",[e._v("https://yoursite.com/admin")])]),e._v(" "),t("p",[e._v("Sitemaps: "),t("code",[e._v("https://yoursite.com/sitemap.xml")])]),e._v(" "),t("p",[e._v("The default "),t("b",[e._v("admin")]),e._v(" credentials are:")]),e._v(" "),t("ul",[t("li",[e._v("Email: "),t("b",[e._v("admin@site.com")])]),e._v(" "),t("li",[e._v("Password: "),t("b",[e._v("admin123456")])])]),e._v(" "),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("Important")]),e._v(" "),t("p",[e._v("After the installation, please edit the robots.txt file in the home directory and replace https://yourwebsite.com/sitemap.xml with your own sitemap address")])]),e._v(" "),t("p",[t("b",[e._v("robots.txt")])]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("User-agent"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),e._v(" *\nDisallow"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),e._v("\n\nSitemap"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),e._v(" https"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),t("span",{pre:!0,attrs:{class:"token comment"}},[e._v("//yourwebsite.com/sitemap.xml")]),e._v("\n")])])]),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),t("p",[e._v("If you want to bulk delete demo apps on your newly created site, please run the link below after logging in to the dashboard:")]),e._v(" "),t("p",[e._v("https://yoursite.com/admin?delete_demo_data")])]),e._v(" "),t("h2",{attrs:{id:"security"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#security"}},[e._v("#")]),e._v(" Security")]),e._v(" "),t("h3",{attrs:{id:"_1-change-the-admin-panel-login-address-highly-recommended"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_1-change-the-admin-panel-login-address-highly-recommended"}},[e._v("#")]),e._v(" 1. Change the Admin Panel Login Address (Highly Recommended)")]),e._v(" "),t("p",[e._v("Change the following two lines in the .env file.")]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("ADMIN_URL="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"admin"')]),e._v("\nADMIN_LOGIN_URL="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"login"')]),e._v("\n")])])]),t("p",[t("b",[e._v("Example Configuration")])]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("ADMIN_URL="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"admin_vN2gB49vg3"')]),e._v("\nADMIN_LOGIN_URL="),t("span",{pre:!0,attrs:{class:"token string"}},[e._v('"login_V2G0b3Flv"')]),e._v("\n")])])]),t("p",[e._v("After this, your admin panel login address will be as follows.")]),e._v(" "),t("p",[t("code",[e._v("https://yoursite.com/admin_vN2gB49vg3")])]),e._v(" "),t("h3",{attrs:{id:"_2-change-the-admin-panel-login-credentials-highly-recommended"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_2-change-the-admin-panel-login-credentials-highly-recommended"}},[e._v("#")]),e._v(" 2. Change the Admin Panel Login Credentials (Highly Recommended)")]),e._v(" "),t("p",[e._v("After installation, log in to your panel and change your username and password by clicking "),t("b",[e._v("Account Settings")]),e._v(" in the left menu.")]),e._v(" "),t("h3",{attrs:{id:"_3-check-env-file-accessibility-highly-recommended"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_3-check-env-file-accessibility-highly-recommended"}},[e._v("#")]),e._v(" 3. Check .env File Accessibility (Highly Recommended)")]),e._v(" "),t("p",[e._v("The .env file contains a lot of sensitive information and should not be accessible with the browser, to test it, open the following address in the browser.")]),e._v(" "),t("p",[t("code",[e._v("https://www.yoursite.com/lapp/.env")])]),e._v(" "),t("p",[e._v("If you can access this file through the browser and view the variables in its content, create a file named "),t("code",[e._v(".htaccess")]),e._v(" under the /lapp folder and change its content as follows.")]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("Deny from all\n")])])]),t("p",[e._v("If you can still access the file, please contact your hosting company and request that it be resolved.")]),e._v(" "),t("h3",{attrs:{id:"_4-making-the-lapp-folder-more-secure-optional"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_4-making-the-lapp-folder-more-secure-optional"}},[e._v("#")]),e._v(" 4. Making the /lapp Folder More Secure (Optional)")]),e._v(" "),t("p",[e._v("To make the lapp folder more secure, please move the /lapp folder to a higher directory and change the line below in the index.php file in the home directory.")]),e._v(" "),t("div",{staticClass:"language-php extra-class"},[t("pre",{pre:!0,attrs:{class:"language-php"}},[t("code",[t("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$lapp_folder")]),e._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),t("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[e._v("'/lapp'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),t("p",[e._v("with")]),e._v(" "),t("div",{staticClass:"language-php extra-class"},[t("pre",{pre:!0,attrs:{class:"language-php"}},[t("code",[t("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$lapp_folder")]),e._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),t("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[e._v("'../lapp'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("Tips")]),e._v(" "),t("ul",[t("li",[e._v("Please note that not all hosting companies may allow running the /lapp folder in the root directory. Some servers may not support this feature.")]),e._v(" "),t("li",[e._v("You can change the name of the /lapp folder if you wish, in this case, be sure to change the name of the /lapp folder by editing index.php")])])]),e._v(" "),t("h3",{attrs:{id:"_5-changing-the-app-key-optional"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_5-changing-the-app-key-optional"}},[e._v("#")]),e._v(" 5. Changing the APP_KEY (Optional)")]),e._v(" "),t("p",[e._v("The software comes with an "),t("b",[e._v("APP_KEY")]),e._v(", but we recommend that you update it for your security.")]),e._v(" "),t("p",[e._v("To create a new App Key, please visit https://yoursite.com/admin/random_key in your web browser to obtain an App Key and update the APP_KEY in the .env file.")]),e._v(" "),t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),t("p",[e._v("Please note that you must be logged in to the admin panel to get a new App Key.")])]),e._v(" "),t("p",[e._v("Assuming the system generates a new App Key for you as follows:")]),e._v(" "),t("p",[t("code",[e._v("A58dx1XOI+b55P2psRFoq1ynqMr6N4CNt7j5ytwyQ8o=")])]),e._v(" "),t("p",[e._v("Edit the relevant line in the .env file as follows:")]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("APP_KEY=base64"),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v(":")]),e._v("A58dx1XOI+b55P2psRFoq1ynqMr6N4CNt7j5ytwyQ8o=\n")])])]),t("p",[e._v("Note: You need to add the App Key after "),t("code",[e._v("APP_KEY=base64:")])]),e._v(" "),t("p",[e._v("❗️You can see an incorrect usage below.")]),e._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[e._v("APP_KEY=A58dx1XOI+b55P2psRFoq1ynqMr6N4CNt7j5ytwyQ8o=\n")])])])])}),[],!1,null,null,null);t.default=n.exports}}]);
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings