This project integrates a Learning Management System (LMS) and a Certification System (CS) using two separate Laravel projects.
- composer install
- npm run
- cp .env.example .env
- php artisan key:generate
- php artisan migrate
- php artisan serve
- npm run dev [for vite]
ex (for sql server): DB_CONNECTION=sqlsrv DB_HOST=127.0.0.1 DB_PORT=1433 DB_DATABASE=CS DB_USERNAME= DB_PASSWORD=
- For specific packages:
composer require simplesoftwareio/simple-qrcodeor
composer install- Then clear cached configuration and regenerate autoloader:
php artisan config:cache composer dump-autoload
-
Open *Windows Defender -> Firewall -> Advanced Settings -> Inbound Rules
-
Modify existing rule for port or... Add new rule for port 2.1 For adding rules:
2.2 Set rule type to Port
2.3 Set as TCP and specify port number
2.4 Allow connection & set to apply to all profiles
-
Check if your device's connection is set to Private/Public by going to *Settings->'name of connection'->Network Profile (Private/Public) (Network profiles can have certain restrictions)
- Run SQL Server Configuration Manager
- Right click on SQL Server (MSSQLSERVER) and set to start
-
Open SQL Server Configuration Manager
-
Navigate to SQL Server Network Configuration -> Protocols for MSSQLSERVER
-
Ensure TCP/IP is enabled
-
To allow SQL server to listen on a specific TCP port
4.1 Open SQL Server Configuration Manager
4.2 Under Protocols for MSSQLSERVER, double-click TCP/IP
4.3 Enable and activate IP1 and IP2, ensure the same port number (IP1 is the first IP address SQL Server binds to)
4.4 Leave TCP Dynamic Ports as Blank (for IPAII) (IPAII represents all settings that apply to all IP addresses)
Leave TCP Dynamic Ports blank to make SQL Server listen to a specific port (1433 for defalt instances)