Local Development
Run Lua on your local machine for development purposes.
Requirements
- PHP 8.1 or later
- Composer
- Node.js with npm
- MySQL
Installation
- Clone the repository:
git clone https://github.com/luadotsh/lua.git
cd lua
- Install PHP dependencies:
composer install
- Install JavaScript dependencies:
npm install
- Set up environment variables:
cp .env.example .env
Update your .env file with database and app settings.
- Run migrations and seed the database:
php artisan migrate:fresh --seed
- Run the front-end build:
npm run dev
💻 Running with Reverb
php artisan reverb:start --host="0.0.0.0" --port=8080 --hostname="lua.sh.test"