aboutsummaryrefslogtreecommitdiff
path: root/laravel
diff options
context:
space:
mode:
Diffstat (limited to 'laravel')
-rw-r--r--laravel16
1 files changed, 16 insertions, 0 deletions
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