From a945feb02f6d64df2219ea1044251a7fe2ea98fc Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 3 Apr 2021 00:37:03 +0200 Subject: Initial commit. --- laravel | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 laravel (limited to 'laravel') diff --git a/laravel b/laravel new file mode 100644 index 0000000..710ca12 --- /dev/null +++ b/laravel @@ -0,0 +1,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 -- cgit v1.2.3