https://github.com/falconandrea/personal-blog
Blog created with Orchid Laravel + Inertia.js
https://github.com/falconandrea/personal-blog
blog inertia inertiajs laravel laravel-framework orchid-platform php vue vuejs
Last synced: 2 months ago
JSON representation
Blog created with Orchid Laravel + Inertia.js
- Host: GitHub
- URL: https://github.com/falconandrea/personal-blog
- Owner: falconandrea
- Created: 2021-07-23T16:26:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T18:43:23.000Z (over 2 years ago)
- Last Synced: 2025-01-24T18:36:55.896Z (4 months ago)
- Topics: blog, inertia, inertiajs, laravel, laravel-framework, orchid-platform, php, vue, vuejs
- Language: PHP
- Homepage:
- Size: 1.85 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Info about the project
My Personal Blog created with Orchid Laravel (for the backend) and Inertia.js (for the frontend).
[AndreaFalcon.Dev](https://andreafalcon.dev)
## Initial config
Follow the guide here [Start Laravel Project](https://github.com/falconandrea/start-laravel-project/blob/main/README.md)
## How to run (with Sail)
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 [email protected] password
```Backend is now up on `http://localhost/admin`.
## For Production
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
```## License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).