Skip to main content

Getting Started

Development Environment Setup This guide will help you set up your development environment for working with our Laravel-based e-recruitment platform and LMS with skill audit integration.

System Requirements

Ensure your development environment meets these requirements:

Server Requirements

  • PHP 8.1 or higher
  • MySQL 8.0+ or PostgreSQL 12+
  • Redis (for queue processing and caching)

Development Tools

  • Composer 2.0+
  • Node.js 16+ and NPM
  • Git

Installation Process

1

Clone the Repository

# Clone the main repository which contains both projects
git clone https://github.com/your-organization/laravel-enterprise-solutions.git
cd laravel-enterprise-solutions
2

Environment Configuration

# Copy the example environment files
cp .env.example .env
cp e-recruitment/.env.example e-recruitment/.env
cp lms-skill-audit/.env.example lms-skill-audit/.env
Make sure to configure your database connections, mail settings, and API keys in each .env file according to your development environment. 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
3

Install Dependencies

4

Database Setup

# Set up databases for both applications
php artisan migrate --path=e-recruitment/database/migrations
php artisan migrate --path=lms-skill-audit/database/migrations

# Seed with sample data (optional)
php artisan db:seed --class=ERecruitmentSeeder
php artisan db:seed --class=LmsSkillAuditSeeder
5

Generate Application Keys

php artisan key:generate
cd e-recruitment && php artisan key:generate
cd ../lms-skill-audit && php artisan key:generate
6

Start the Development Server

php artisan serve
The application will be available at http://localhost:8000 by default.

Running Individual Applications

Each application can also be run independently:
cd e-recruitment
php artisan serve --port=8000
The E-Recruitment Platform will be available at http://localhost:8000
cd lms-skill-audit
php artisan serve --port=8001
The LMS with Skill Audit will be available at http://localhost:8001

Configuration Checklist

Before proceeding with development, ensure you’ve properly configured:

Next Steps

Now that you have the development environment set up, you can:

Troubleshooting Common Issues

If you encounter issues during setup:
Ensure all required PHP extensions are installed:
# Check installed PHP extensions
php -m

# Required extensions include:
# - pdo_mysql or pdo_pgsql
# - mbstring
# - tokenizer
# - xml
# - ctype
# - json
# - bcmath
# - fileinfo
Verify database credentials and connectivity:
# Test MySQL connection
mysql -u username -p -h hostname

# Test PostgreSQL connection
psql -U username -h hostname -d database
Check log files in storage/logs for detailed error messages:
# View the latest log file
tail -f storage/logs/laravel.log
Make sure you never commit your .env files or any sensitive credentials to your repository. Always use environment variables for secrets in production.
Need additional help? Join our developer community or submit an issue on our GitHub repository.
I