mabdullahsari / muhammedsari

The source of muhammedsari.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Muhammed Sari

Muhammed Sarı's Blog

This is the source code that powers my blog.

Installation

These steps assume that you use a mac as your development machine and (will use) Laravel Valet for your development environment.

Binaries

brew install php node composer redis git

Clone repository

cd ~/Sites
git clone git@github.com:mabdullahsari/muhammedsari.git

Note As of this point, the commands below assume that you're in the project's root.

Development environment

composer global require laravel/valet
valet install
valet use php@8.3
cd ~/Sites/muhammedsari
valet link
valet secure muhammedsari
valet isolate php@8.3
pecl install redis
brew services restart redis
brew services restart php

Dependencies

composer install --no-scripts
npm install

App environment

cp .env.example .env
php artisan key:generate

Publishing assets

php artisan horizon:publish
npm run build

Choose your own password

php artisan tinker --execute "echo bcrypt('YOUR_PW_HERE')" | pbcopy

Navigate to ./src/Identity/UserSeeder.php and update the password hash of the default user.

Database & migrations

touch ./database/database.sqlite
php artisan migrate:fresh --seed

Credits

License

The MIT License (MIT). Please see License File for more information.

About

The source of muhammedsari.me

License:MIT License


Languages

Language:PHP 80.4%Language:Blade 19.0%Language:JavaScript 0.5%Language:SCSS 0.1%