diff --git a/etc/procedure.md b/etc/procedure.md index 121bc81..7701d6f 100644 --- a/etc/procedure.md +++ b/etc/procedure.md @@ -1,3 +1,34 @@ -## Serve your project## +## Serve your project ## 1. The **easy** way: php artisan serve -2. \ No newline at end of file +2. The **tricky** way: +``` +cd /etc/apache2/sites-available +gedit tedxntua.conf +``` +Add the following: +``` + + ServerName tedxntua + + DocumentRoot "bla..bla/tedxntua/public" + + +``` +Then: +``` +sudo a2ensite projectname +sudo /etc/init.d/apache2 restart +gedit /etc/hosts +``` +Copy paste the following: +``` +127.0.0.1 tedxntua +``` +Then: +``` +cd bla..bla +chmod -R 777 storage +``` +Enjoy: http://tedxntua + + diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100644 new mode 100755 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100644 new mode 100755