Skip to content

Install InfyHMS-SaaS

Once you purchase InfyHMS-SaaS system then you will be able to find dist.zip within the main zip.

Video Tutorial

You can also follow the video below for video tutorial of the installation process.

Extract that file on your local and follow the following steps:

Copy files to Web Server

Upload dist.zip to your web server's root (public_html) and extract it there.

Default Database Setup

  1. Open PHPMyAdmin on your server and do a login.
  2. Click on the Databases tab.
  3. Create a new database and specify a Database name of your choice and Click Create button.
  4. Now on the left, select the database (hms-saas) OR the one that you have created.
  5. Click Import in the top menu
  6. Under Import, choose the default sql file from dist/database/hms-saas.sql and click button Go.

Environment Variables

Open .env file from your server's root folder.

Setup Default DB

You need to change the following information into your environment (.env) file.

App name and URL Setup

ini
APP_NAME="App Name"
APP_URL="https://your-domain.com"

Database Setup

ini
DB_HOST="DB Host here"
DB_PORT="3306" // this may changed as per your DB
DB_DATABASE="DB Name"
DB_USERNAME="DB Username"
DB_PASSWORD="DB Password"

Email Setup

You will also need to set up mail configuration and update the following variables. You can use the below video for the reference on how to setup email configuration for cPanel servers.

ini
MAIL_DRIVER=
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="Your App Name"

Amazon S3 Storage Setup

If you want to store your files to direct your s3 bucket then you have to use following .env variables. You need to change FILESYSTEM_DRIVER and MEDIA_DISK value to s3 when you are using AWS file storage.

ini
FILESYSTEM_DRIVER=s3
MEDIA_DISK=s3
ini
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=
AWS_ENDPOINT=
AWS_URL=

Or you can use your choice of storage driver to store your media assets if you want. All of your attachments will be placed into that.

Twilio Setup

Set twilio env if you want to use SMS module. You can find to setup twilio steps from above.

ini
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_FROM_NUMBER=

Stripe Setup

Set Stripe configuration it is using while IPD payments. Here is some links by using it you will get an idea about how to generate stripe API keys.

ini
STRIPE_KEY=
STRIPE_SECRET_KEY=

PayPal Setup

Set up the Paypal Credentials into env:

You have to create account from Here and then you can find steps here to generate keys from Here or Here

ini
PAYPAL_CLIENT_ID=
PAYPAL_SECRET=
# change mode to "live" while moving to production
PAYPAL_MODE="live"

Razorpay Setup

Set up the Razorpay Credentials into env:

You have to create account from Here and then you can find steps here to generate keys Here

ini
RAZOR_KEY=
RAZOR_SECRET=

Zoom Setup

Set Zoom configuration it is using in Live Consultations module. So first of you need to create your zoom ap into zoom marketplace and need to generate the API Keys and credentials.

  • Go to Zoom App Marketplace and do sign in.
  • Click Develop button on header and select Build App menu.
  • Click Here to configure your application
  • Input required information and click Continue until your app will be activated.

After completing the above steps, you need to update your .env file by placing below keys inside that.

ini
ZOOM_API_URL="https://api.zoom.us/v2/"
ZOOM_API_KEY="INPUT_YOUR_ZOOM_API_KEY"
ZOOM_API_SECRET="INPUT_YOUR_ZOOM_API_SECRET"
ZOOM_REDIRECT_URL="${APP_URL}/zoom/callback"

For Laravel Cookie Consent, you just need to add the below key to your .env file in order to enable the cookie storage.

ini
COOKIE_CONSENT_ENABLED=

Google captcha Setup

You need to set google re-captcha for contact us form, you have to follow given steps and need to set following env variables.

ini
NOCAPTCHA_SITEKEY=
NOCAPTCHA_SECRET=

Here is link to generate and get the keys of google captcha.

And you should be ready to go.

Admin login

You can log in as admin using below credentials.

Super Admin Credentials:

Email / Password : admin@hms.com / 123456789