Browse Source

Update 'README.md'

master
pvincent 3 years ago
parent
commit
347a81dc66
  1. 13
      README.md

13
README.md

@ -34,21 +34,20 @@ cd /var/www
git clone https://git.artcode.re/cagetters/cagettepei.git
cd cagettepei
make install ENV=dev
vim /etc/apache2/sites-available/cagettepei.conf
```
```
<VirtualHost *:80>
ServerName cagettepei
DirectoryIndex index.n
DocumentRoot /var/www/cagettepei/www/
CustomLog ${APACHE_LOG_DIR}/cagettepei/access.log combined
ErrorLog ${APACHE_LOG_DIR}/cagettepei/debug.log
ErrorLogFormat "[%{uc}t] %M"
DocumentRoot /var/www/cagettepei/www
DirectoryIndex index.n
CustomLog ${APACHE_LOG_DIR}/cagettepei/access.log combined
</VirtualHost>
```
```bash
sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
a2dissite 000-default.conf

Loading…
Cancel
Save