Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

iGEM-Bulgaria/igem-bulgaria.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The iGEM-Bulgaria website

Development requirements and setup:

  1. PHP >= 5.2 with the SPL extension installed

  2. 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)

  3. Hostfile (/etc/hosts) entry similar to

    127.0.0.1   igem-bulgaria.dev
    
  4. Composer

    $ composer install
    
  5. Write permissions to the lang/langcache folder

    $ chmod -R 775 lang/langcache
    
  6. (Optional) Clone deploy-config.example.php into deploy-config.php and edit accordingly, depending on the server you want to deploy on. Upload deploy-config.php manually to the server.

Credits