The script comes with installation wizard and hence not much coding experience is required in order to setup the script. To begin with installation follow the steps:
- Purchase this script from ScriptMint.
- Next, you need to verify your purchase. To do so, Navigate to https://auth.scriptmint.com, login with your envato account. The script will be listed in 'My Purchase' section. Click on the detail, add a domain where you want to install the script to get access code. If you choose to have 'Regular' license, you can only have one active domain at a time. If you choose to have 'Extended' license, you can have multiple domains active at same time. You can use this access code to install the script in your server.
Make sure you add your admin panel URL in the domain list for any SaaS Version script installation. No need to add system or website URL in the domain list.
- Make sure your server fulfills all the requirements as mentioned in our support portal. If any of these requirements are not fulfilled, you may face issue with installation.
- Download zip file & extract it on any folder on your local server. You will get three folders after extraction. (1) admin (2) system (3) website
- Create a virtual host say "invoice-saas-admin.test" and point it to "admin" folder. This virtual host is for SaaS admin panel. Make sure your virtual host is working. You can test it by putting simple php file with phpinfo function.
- Create another virtual host say "invoice-saas-system.test" and point it to "system" folder. This virtual host is for SaaS InstiKit application. Again, make sure this virtual host is working.
- Create one more virtual host say "invoice-saas-website.test" and point it to "website" folder. This virtual host is for SaaS website. Again, make sure this virtual host is working.
- Open .env file (of admin virtual host) in your favorite editor, enter the relative path of admin and system folder location. If all the three folders are located in same directory, you may need not to change this path. But in case these three folders are located in different places, you need to change this relative path.
You need not to change any other variable in .env file.
For above example, the app path and website path is set to the relative path of "admin/public" folder. In detail, lets say we are currently in "public" folder of "admin" virtual host and we have to reach to "system" folder. We have to take one back-step to reach to "admin" folder, one more back-step to reach to root folder. Now we can move forward to "system" folder.
Similarly, to reach to "website" folder, you need to take two back-steps.
If this path is incorrect, you may not be able to install the script
- Open .env file (of system subdomain) in your favorite editor, enter the URL of website at WEBSITE variable. Here your website URL is http://invoice-saas-website.test so you can enter invoice-saas-website.test in WEBSITE variable.
You need not to change any other variable in .env file.
- Navigate to "http://invoice-saas-admin.test", it will take you to installation wizard.
- Create a database for handing all your client's information lets say "admin", add a user and assign with all the permission to that database "admin".
- In the first step, the script will check the pre-requisites and display the output. If any pre-requisite is missing, that will be highlighted with red background. To proceed with further step, you need make sure that that pre-requisite is fulfilled.
- Enter the database information in the second step of installation wizard. Click on the next button, in case your database credentials are wrong, you will get the error message else you will be moved to third step.
- In the third step, you will be asked about "Admin" details like admin name, email & its password to login into the admin panel. Once complete, click on the next button
- In the fourth step, you will be asked about some environment configuration like Application Name, Admin Domain (http://invoice-saas-admin.test), Application Domain (http://invoice-saas-system.test), Encryption Key, Access Code & Envato Email. Provide all the correct details and click on the finish button. In case your access code or envato email is wrong, you will get error notification.
Encryption key is any 32 Character string that will be used to encrypt data on this script.
- If all the information is correct, the installation will begin. This may take around 30-60 seconds to install the script. Once installed, you will be redirected to login page of admin panel.
- Login into your admin panel, go to Configuration -> Server Configuration & select "local" in your server dropdown.
- Now you create add currencies, create plans. You may also need to update various configurations as required.
- If there is any issue, feel free to raise a ticket at http://support.scriptmint.com