To run the Luckycat web application, the following requirements are needed:
- PHP version 8.2 or above
- NPM for Vite
- MySQL
- Clone the repository from GitHub:
git clone https://github.com/junssekut/luckycat.git cd luckycat
- Run
composer install
, followed bynpm install
. - Create a database named
luckycat
, as specified in the.env
file. - Run
php artisan migrate:fresh --seed
to migrate and seed the database. - To start the web server, enter
composer run dev
in the terminal.
By default, after running php artisan migrate:fresh --seed
, several test accounts are available.
- Email:
test@example.com
- Password:
test
-
Email:
admin@synchronizefest.id
-
Password:
synchronizefest@2025
-
Email:
admin@holafest.id
-
Password:
holafest@2025
A functional SMTP server is required to send emails in Luckycat. SMTP credentials should be added to the .env
file. By default, the .env
file contains:
YOU MUST SETUP THIS FIRST IN YOUR PERSONAL CPANEL OR WHEREVER IT IS
MAIL_MAILER=smtp
MAIL_SCHEME=null
MAIL_HOST=your-mail-host
MAIL_PORT=465
MAIL_USERNAME=your-mail-username
MAIL_PASSWORD=your-mail-password
MAIL_FROM_ADDRESS="your-mail-address"
MAIL_FROM_NAME="Luckycat"
To enable Google login, OAuth API credentials are required. The .env
file is preconfigured with the following credentials:
YOU MUST SETUP THIS FIRST IN YOUR PERSONAL GOOGLE CLOUD
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://127.0.0.1:8000/auth/google/callback
Change the localhost ip to your domain, e.g:
GOOGLE_REDIRECT_URI=http://luckycat.cloud/auth/google/callback
The Luckycat Vendor Dashboard is available at the /vendor
URL. Vendor roles have different account types, corresponding to the demo accounts provided above.