The iGEM-Bulgaria website
-
PHP
>= 5.2
with theSPL
extension installed -
Apache / Ngninx configured similar to:
<VirtualHost *:80> ServerName igem-bulgaria.dev ServerAlias www.igem-bulgaria.dev ServerAdmin webmaster@localhost DocumentRoot /PATH_TO_ROOT/igem-bulgaria/public <Directory /PATH_TO_ROOT/igem-bulgaria/public> Options FollowSymLinks AllowOverride All </Directory> ErrorLog ${APACHE_LOG_DIR}/igem-bulgaria/error.log CustomLog ${APACHE_LOG_DIR}/igem-bulgaria/access.log combined </VirtualHost>
(Note that the document root is in the
/public
subfolder rather than the repo's root) -
Hostfile (
/etc/hosts
) entry similar to127.0.0.1 igem-bulgaria.dev
-
$ composer install
-
Write permissions to the
lang/langcache
folder$ chmod -R 775 lang/langcache
-
(Optional) Clone
deploy-config.example.php
intodeploy-config.php
and edit accordingly, depending on the server you want to deploy on. Uploaddeploy-config.php
manually to the server.