Skip to content

tuhmaz/laravelweb

Repository files navigation

Laravel Web Application

Installation Instructions

Prerequisites

  • PHP >= 8.1
  • Composer
  • MySQL or MariaDB
  • Node.js & NPM

Installation Steps

  1. Clone the repository:
git clone https://github.com/tuhmaz/laravelweb.git
cd laravelweb
  1. For Windows users, run the installation script:
.\install.ps1

For Linux/Mac users:

chmod +x install.sh
./install.sh

Manual Installation (if scripts don't work)

  1. Copy the environment file:
cp .env.example .env
  1. Configure your .env file with your database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
  1. Install dependencies:
composer install --no-interaction --prefer-dist --optimize-autoloader
  1. Generate application key:
php artisan key:generate
  1. Run migrations:
php artisan migrate --force
  1. Clear all caches:
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
  1. Optimize the application:
php artisan optimize

Troubleshooting

If you encounter the error about the settings table not existing during installation:

  1. First run the migrations:
php artisan migrate --force
  1. Then proceed with the rest of the installation:
composer dump-autoload -o
php artisan package:discover

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published