aboutsummaryrefslogtreecommitdiff
path: root/laravel
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
committerMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
commita945feb02f6d64df2219ea1044251a7fe2ea98fc (patch)
treefe0242495eb35317fd5358e403a047657dfa04b5 /laravel
downloadmisc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.tar.gz
misc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.zip
Initial commit.
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