Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boo1ean/network
Academy Project
https://github.com/boo1ean/network
Last synced: 30 days ago
JSON representation
Academy Project
- Host: GitHub
- URL: https://github.com/boo1ean/network
- Owner: boo1ean
- Created: 2013-07-11T18:46:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T21:00:22.000Z (about 10 years ago)
- Last Synced: 2024-05-01T12:36:48.714Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 3.02 MB
- Stars: 4
- Watchers: 5
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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`