aboutsummaryrefslogblamecommitdiff
path: root/laravel
blob: 710ca12e37a5402ed326c1eff7a69600f50c1bf1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                          
#!/usr/bin/env bash

composer global require laravel/installer
laravel new blog
# OR
composer create-project --prefer-dist laravel/laravel blog

cd blog
sudo chown -R $USER:www-data storage
sudo chown -R $USER:www-data bootstrap/cache
chmod -R 775 storage
chmod -R 775 bootstrap/cache
#chmod -R g+w storage
#chmod -R g+w bootstrap/cache
cp .env.example .env
php artisan key:generate