- Install PHP and MySQL. (On Windows, we recommend XAMPP.)
- Install Composer.
- Install Laravel.
- Install Node.js. (For compiling the assets, like CSS.)
- Tune in to Swing Street Radio. During development, swing music must play at all times.
- Configure the
.env
file.- Copy the example file:
cp .env.example .env
- Create a database table in MySQL.
- Adapt the
DB_*
settings in.env
to allow a connection to that database table.
- Copy the example file:
- Migrate the database:
php artisan migrate
- Seed the database with initial data:
php artisan db:seed
- Add an admin user:
php artisan orchid:admin
- Install the dependencies for the asset pipeline:
npm install
php artisan serve
This command will run a development web server. You can then view your website in the browser by connecting to the URL indicated in the console.
To also recompile the assets (like the CSS files), you can instruct the asset pipeline to compile all files whenever you save them:
npm run watch