Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boo1ean/network

Academy Project
https://github.com/boo1ean/network

Last synced: 30 days ago
JSON representation

Academy Project

Awesome Lists containing this project

README

        

## Conventions

Before starting work on the project read our [code conventions](https://github.com/boo1ean/network/blob/master/conventions.md)

## How to setup project locally

__1.__ Clone project from github: `git clone [email protected]:boo1ean/network.git`

__2.__ Go to project dir and run: `./composer.phar install`

__3.__ Set rw permissions for runtime folders: `chmod 777 -R public/assets/ app/runtime/`

__4.__ Add new site record to apache conf `sudo gedit /etc/apache2/sites-available/network` (will create new file if doesn't exist)
And put:

```ApacheConf

ServerName your-servername-here
DocumentRoot /path/to/network/public

DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all

```

__5.__ Add new record to hosts file due to have access to local server through alias `sudo gedit /etc/hosts` and add new line:

__NOTE:__ alias should be same as ServerName from apache virtual host config

```
127.0.0.1 your-servername-here
```

__6.__ Enable mod_rewrite for apache: `sudo a2enmod rewrite`

__7.__ Enable newly added site: `sudo a2ensite network`

__8.__ Restart apache: `sudo service apache2 restart`