Skip to content

Latest commit

 

History

History
92 lines (64 loc) · 1.83 KB

README.md

File metadata and controls

92 lines (64 loc) · 1.83 KB

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 [email protected]: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 [email protected]
cd ~/Sites/muhammedsari
valet link
valet secure muhammedsari
valet isolate [email protected]
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.