Skip to content

Commit

Permalink
Procedure file updated with instructions for serve
Browse files Browse the repository at this point in the history
  • Loading branch information
giannisdaras committed Nov 14, 2017
1 parent 6555241 commit c6a2ab2
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions etc/procedure.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## Serve your project##
## Serve your project ##
1. The **easy** way: php artisan serve
2.
2. The **tricky** way:
```
cd /etc/apache2/sites-available
gedit tedxntua.conf
```
Add the following:
```
<VirtualHost *:80>
ServerName tedxntua
DocumentRoot "bla..bla/tedxntua/public"
</VirtualHost>
```
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


Empty file modified storage/app/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/app/public/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/cache/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/sessions/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/testing/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/views/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/logs/.gitignore
100644 → 100755
Empty file.

0 comments on commit c6a2ab2

Please sign in to comment.