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.
- Clone the project
git clone https://github.com/acorvin/simply-code-zen.git
-
I recommend using Docker to run the dev environment
-
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
- Copy .env.example into .env
cp .env.example .env
- Start the project in detached mode
./vendor/bin/sail up -d
To run php artisan commands, access the docker container
./vendor/bin/sail bash
- Set the encryption key
php artisan key:generate --ansi
- Run the migrations
php artisan migrate
- Add a filament admin user account to access the dashboard
php artisan make:filament-user
- Install dependencies for tailwind and vite
npm install
- Run dev / vite
npm run dev
To access the Filament admin dashboard, navigate to
localhost/admin