Technical Users
If you have purchased the InfyLMS system then you will be able to find 2 different zip files into it.
- dist.zip
- src.zip
If you are a technical user, then you need to use a src.zip file. To set this up, you need to have a sound knowledge of the Laravel and ReactJS app. It's also expected that you know about deploying Laravel and ReactJS applications on the webserver as well.
Extract that file on your local and follow the following steps:
1. Setup environment .env file
You need to change the following information into your environment (.env)
file.
APP_NAME - Name of your Application/Library System
APP_URL - Change this URL with your server URL (including trailing path if you are putting it in subfolder or root website)
DB_HOST - Put your database hostname here
DB_PORT - Put your database port here if it does not default to 3306
DB_DATABASE - Change it to your database name
DB_USERNAME - Name of your database user
DB_PASSWORD - Password of your database user
You will also need to set up mail configuration, you can read more about here for that setup based on mail service that you use.
MAIL_DRIVER
MAIL_HOST
MAIL_PORT
MAIL_USERNAME
MAIL_PASSWORD
MAIL_ENCRYPTION
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.
2. Composer install (For Laravel)
You need to install all laravel dependencies with the following command.
composer install
Once the composer install is completed, run a command to generate a key.
php artisan key:generate
3. Install npm Dependencies(for React)
Install node modules,
npm install
4. Modify default Super Admin User Seeder
The application will create a Super Admin User while setup which will be performed via seeder. Open a file database/seeds/AdminUserSeeder.php
and modify the email and password of the default user to your choice of email and password.
5. Run database migrations
Run database migrations and seeders for creating a database and fill default data
php artisan migrate --seed
If you are not able to run migrations for some reason. for e.g. if using shared or FTP Hosting then you can import a pre-populated database file from dist
folder to your database.
6. Build a project
Build a project with a laravel mix. If you are running in development mode then run
npm run dev
Or if you are planning to use it in production then run,
npm run prod
That's it and you are ready to go.
7. Login with default Super Admin User
You can access admin login url by YOUR_APP_URL/#/app/admin/login
.
Now enter default admin email admin@lms.com
and default password lms@12345
to login.
You can access member login url by YOUR_APP_URL/#/app/login
.
Default member credentials is :
email : member@lms.com
pass : lms@12345
You should be able to go to the application and do a login with the default email and password which you set up in the seeder.
8. Setup Library Branding
After login, you can see the Settings menu into the right sidebar. you can configure following settings
Library Name
Logo
Favicon Icon
Currency
Language (Supporting 11 Language)
Reserve Due Days
Return Due Days