Skip to content

Install InfyLMS

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

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

Copy files to a 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 (lms) 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/lms.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"
SANCTUM_TTL="value in minutes of token expiration"
EBOOK_DISK="disk where e-books are stored, default set to ebook"

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 Driver
MAIL_HOST = Your mail driver host
MAIL_PORT = Mail port
MAIL_USERNAME = Mail service username
MAIL_PASSWORD = Mail service password
MAIL_ENCRYPTION = Mail encryption (optional)

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 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=

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

And you should be ready to go.

Admin login

You can log in as admin using below credentials.

URL: YOUR_APP_URL/#/app/admin/login

Email / Password : admin@lms.com / lms@12345

Member Login

You can log in as member using below credentials.

URL: YOUR_APP_URL/#/app/login

Email / Password : member@lms.com / lms@12345