This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 318
Tutorial
derpadoo edited this page Mar 23, 2018
·
2 revisions
InstallationGuide.pdf
FOLDER & FILES:
- assets
- classes
- database
- modules
- vendor
- web
- composer.json
- composer.lock
- composer.phar
- LICENSE
- pack_vendor.php
- phpunit.xml.dist
php composer.phar install -o --prefer-dist
'Warning: This development build of composer is over 30 days old...'
php composer.phar self-update
a2enmod rewrite
cp /assets/config/db.sample.php /assets/config/db.php
/assets/config/db.php
001-hackazon.conf
type in /etc/hosts - 127.0.0.1 hackazon.lc
<VirtualHost *:80>
ServerName hackazon.lc
DocumentRoot /var/www/hackazon/web
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>
<Directory /var/www/hackazon/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
ln -s /etc/apache2/sites-available/001-hackazon.conf /etc/apache2/sites-enabled/001-hackazon.conf
If you get error "Forbidden - You don't have permission to access / on this server" type this in terminal:
chown -R www-data:www-data /var/www/hackazon
hackazon.lc
That's it!