Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 2.2 KB

README.md

File metadata and controls

97 lines (60 loc) · 2.2 KB

image

Livewire Stisla

Project Laravel 11 dengan Livewire 3, Template Admin Stisla, dan Multi Auth menggunakan Laratrust serta Aktif/Non-aktif akun. Have Fun ^_^

Prerequisites

Before you begin, ensure you have the following installed:

  • PHP (version 8.0 or higher)
  • Composer (for managing dependencies)
  • MySQL or any other database supported by Laravel
  • Node.js and npm (for handling frontend and assets)

Installation Steps

Follow these steps to get your project up and running.

1. Clone the Repository

Clone the repository to your local machine:

git clone /~https://github.com/fahmiibrahimdevs/livewire-stisla.git

2. Install PHP Dependencies

After cloning the repository, navigate to the project directory and install the PHP dependencies using Composer:

cd livewire-stisla
composer install

3. Configure .env File

Copy the .env.example file to .env:

cp .env.example .env

Then, open the .env file and update the database connection and other environment variables based on your local configuration.

4. Generate Application Key

Run the following command to generate the application key:

php artisan key:generate

5. Run Database Migrations Fresh + Seed

Run the migration command to create the necessary database tables:

php artisan migrate:fresh --seed

6. Install Frontend Dependencies

Install the frontend dependencies using npm:

npm install

7. Build Frontend Assets

Once the frontend dependencies are installed, run the following command to build the assets:

npm run dev

If you want to build assets for production, use:

npm run prod

8. Run the Application

Your application is now ready to run. To start the Laravel development server, use:

php artisan serve

The application will be available at http://localhost:8000.

License

This project is licensed under the MIT License.