/simply-code-zen

A blog site developed with Laravel and Filament.

Primary LanguagePHP

Code Zen Blog

Code Zen is a blog project designed using Laravel and Filament. Its purpose is to provide a platform for sharing and exploring coding concepts, programming tips, and technology insights in a calm and simplified manner. Whether you're a seasoned developer or just starting your coding journey, Code Zen seeks to offer a serene space for learning and growth.

Preview

preview

Technologies

Laravel

Filament

Laravel Livewire

Alpine.js

TailwindCSS

Docker

Installation

  1. Clone the project
git clone https://github.com/acorvin/simply-code-zen.git
  1. I recommend using Docker to run the dev environment

  2. Run the composer installation by cd'ing into project folder in the terminal and running

docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php82-composer:latest \
composer install --ignore-platform-reqs
  1. Copy .env.example into .env
cp .env.example .env

  1. Start the project in detached mode
./vendor/bin/sail up -d

To run php artisan commands, access the docker container

./vendor/bin/sail bash
  1. Set the encryption key
php artisan key:generate --ansi
  1. Run the migrations
php artisan migrate
  1. Add a filament admin user account to access the dashboard
php artisan make:filament-user
  1. Install dependencies for tailwind and vite
npm install
  1. Run dev / vite
npm run dev

Accessing Dashboard

To access the Filament admin dashboard, navigate to

localhost/admin