OS PRO Cpanel Deploy Guide
OS PRO Cpanel Deploy Guide
STEP 1
Setup Database
6. Create a database
3. Click on Upload .
4. Now Select The Backend-Zip file, and Upload.
d. Click Edit. This will open a new window with the content of the file
displayed. Add your database information as we did.
If you cannot find the Terminal please contact your hosting provider to give
you this advance access or you can use the database.sql file we have
provided with source code.
9. Change the directory to your domain/ sub-domain folder where you have
uploaded your files with; command : cd yourBackendDomainName
10. Now navigate to your folder where you have uploaded your files with;
a. Type command: php artisan key:generate
b. Type command: php artisan migrate:fresh
It will create the required database table and data in the Mysql database that you have
installed previously.
11. Everything is ready now visit your backend url to see the swagger documentation.
Please email us if you need any help with using the application. We will assist you as soon as
possible and in most cases within 1 day. Customer satisfaction is the most important thing that
we care about.
Preview:
CPanel Installation Guide: Frontend
STEP 1. Build frontend file from local computer.
1. Go to your computer source code/frontend and open the terminal in that folder.
a. Warning: You have to install the node_modules and all those things from the
upper installation guide.
b. Open .env file and replace the url with your Backend domain name
VITE_APP_API: yourBackendDomain
Example : VITE_APP_API=http://api.erpos.omega.ac
Example : “base”:”http://erpos.osapp.net”
2. Build file:
a. Open your source-code/frontend folder and open terminal or command
prompt
b. Type yarn build to build the frontend file with upper information.
c. It will take some time and it will build a file in the dist folder.
3. Zip and Upload the file.
a. Zip the dist folder with any compressor.
b. Go to File Manager of your cpanel find your domain or subdomain folder.
c. Upload the Zip File, that you have zipped in your local pc under Dist Folder .
d. Now Extract the file:
i. Select the file you wish to uncompress
ii. Hit Extract icon
iii. Or right-click on the file and use Extract option
iv. Define the path you wish to extract the file to
v. Once done, hit Extract File(s)
Thank you 😃
IMPORTANT NOTE:
● To run the application properly on your Local machine the minimum requirement
is:
○ 64bit operating system
○ minimum 2 GB of RAM
○ Minimum 5 GB of free space on HDD/SSD
○ Minimum Processor Dual core or above or equivalence
● The Xampp server will be running in the background. Don’t stop that.
● Do not close your frontend command prompt window.
● This software runs smoothly in any Windows, Linux-based OS and Mac OS
which meets the minimum requirements stated above.
_______________________________________________________________________
Please email us if you need any help with using the application. We will assist you as soon as
possible and in most cases within 1 day. Customer satisfaction is the most important thing that
we care about.
CONTACT INFORMATION:
Website: Omega Solution
Email: [email protected]
Customer Support: https://support.omega.ac