To get started with the application, follow these installation steps:
-
Ensure you have PHP 8.1+ installed.
-
Clone the repository using the following command:
git@github.com:yarion1/tcc-genetic-algorithm.git -
Move into the project directory:
cd tcc-genetic-algorithm -
Install the required dependencies by running:
composer install -
Create an environment file:
cp .env.example .env -
Run the setup application.
./vendor/bin/sail up -
Generate the application key:
./vendor/bin/sail artisan key:generate -
Create a local database and update the
.envfile with the database credentials. -
Run the database migration to set up the necessary tables:
./vendor/bin/sail artisan migrate -
Seed the application with initial data:
./vendor/bin/sail artisan db:seed
-
Start the queue to enable timetable generation:
./vendor/bin/sail artisan queue:work