My Personal Blog created with Orchid Laravel (for the backend) and Inertia.js (for the frontend).
Follow the guide here Start Laravel Project
Copy and update .env file
APP_NAME=OrchidBlog
DB_CONNECTION=mysql
DB_HOST=mysql
DB_USERNAME=laravel
DB_PASSWORD=password
DOMAIN=mydomain.dev
Install PHP and NPM dependencies
composer install
npm ci
npm run dev
Run Sail and initial commands for artisan (key, storage, migrate db...)
sail up -d
sail artisan key:generate
sail artisan storage:link
sail artisan migrate
Create admin user
sail artisan orchid:admin admin admin@admin.com password
Backend is now up on http://localhost/admin
.
After git clone project, copy .env.example
file in .env
and run
docker-compose -f docker-compose.prod.yml up -d
After containers are run, enter in blog
container and run
composer update
php artisan migrate
php artisan key:generate
php artisan config:cache
php artisan storage:link
npm install
npm run prod
The Laravel framework is open-sourced software licensed under the MIT license.