Documentation
Getting started

Getting Started with gegok12.com

Welcome to the gegok12.com platform. This document will help you set up the project on your local machine for development and testing purposes.


Prerequisites

Ensure you have the following installed on your system:

  • PHP 8.1+
  • Composer
  • Node.js (v14)
  • npm or yarn
  • MySQL
  • Git
  • Laragon or "XAMPP" or similar PHP Dev Platform
  • Redis (Optional)

Installation Steps

1. Clone the Repository

git clone https://github.com/Gego-K12/gegok12
cd gegok12

2. Install PHP Dependencies

composer install

3. Copy .env and Set Configurations

cp .env.example .env
php artisan key:generate

Update the .env file with your database, mail, queue, and other local configurations.

4. Run Database Migrations and Seeders

php artisan migrate --seed

Optional: You can create a dummy superadmin using the seeder or manually using Tinker.

5. Install Node Dependencies

npm install
npm run dev

OR if you use Yarn:

yarn
yarn dev

6. Start the Development Server

php artisan serve

The application will be available at:
http://localhost:8000 (opens in a new tab)


Admin Credentials (Default)

Email: [email protected]
Password: password

You can change this in the database or update the seeder file.

Useful Commands

TaskCommand
Cache clearphp artisan optimize:clear
Route listphp artisan route:list
Storage linkphp artisan storage:link
Install npm dependenciesnpm install
Compile assetsnpm run dev or npm run build

Support

For questions, issues or help, reach out to:

[email protected]
https://gegok12.com (opens in a new tab)