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 Promint script is quite simple. Please follow the steps mentioned below:
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"
The green alert shows your requirements are fulfilled. In case it doesn't, you will be a read alert box with the error description.
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.
Enter your user login credentials to proceed. This user will have admin access to perform various operation.
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://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.
Subscribe & get latest updates from ScriptMint