The script includes all the necessary files to install the application on your server. You do not need to perform composer commands in order to install the script.
Installation of Mint Invoice script is quite simple. Please follow the steps mentioned below:
- Purchase and download the zip archive of script from authentic source.
- Upload the zip archive to your server.
If you wish to install this script on Live Server, please use a top level domain (For ex. yourdomain.com) or a sub domain (For ex. hrm.yourdomain.com). If you are planning to install it any sub directory, you can create a sub domain pointing to the sub directory. The domain or sub domain should point to the "public" directory.
If you wish to install this script on Local Server, please use a virtual host (For ex. domain.test) to access the script. The virtual host should point to the "public" directory. There are many resources available for Virtual Host depending upon your Operating System & Server you are using.
If you are using port or IP as your URL for local server installation, you will need to change below variables in the .env file
If your installation URL is 127.0.0.1:8000
APP_URL="http://127.0.0.1" SESSION_DOMAIN="127.0.0.1" SANCTUM_STATEFUL_DOMAINS="127.0.0.1:8000"
If your installation URL is localhost:3000
APP_URL="http://localhost" SESSION_DOMAIN="localhost" SANCTUM_STATEFUL_DOMAINS="localhost:3000"
- Extract the zip archive to the folder where you wish to install
- Navigate to the domain/sub domain/virtual host in your favorite browser. If your server fulfills all the pre-requisites then you must get the installation wizard as shown in the screenshot below:
The green alert shows your requirements are fulfilled. In case it doesn't, you will be a read alert box with the error description.
- Click on the next button to move to Step 2.
Enter your database credentials to proceed. You might get an error in case database connection could not be established due to invalid database credentials.
Make sure your database doesn't have any table. The script will create required tables at the time of installation.
- Click on the next button to move to Step 3.
Enter your user login credentials to proceed. This user will have admin access to perform various operation.
- Click on the next button to move to Step 4.
In this last step, you will need to enter your license information. You need to generate "Access Code" for every domain/sub domain where you wish to install. To get the access code, navigate to https://auth.scriptmint.com, login with your Envato Account if you have purchased with Envato else you can also login with Gmail or Github.
Your purchase should be listed in the dashboard or Go to the Purchase menu from sidebar & click on the details of your purchase, you can then add your domain/sub domain where you wish to install.
Enter the access code and registered email and click on the finish button to complete the installation.
Usually it takes around 15-30 seconds to install the script but if your server has low resources (hardwares) then it might take upto 5 minutes. In that case, you need to make sure that your PHP Max Execution Time Limit is atleast 300 seconds.
Once your installation is completed, you will be redirected to login page. You will need a refresh here as the script generates some new encryption key. If you don't refresh, you might get "CSRF Token mismatch" error.