/bars-web

Buenos Aires Rojo Sangre film festival website

Primary LanguagePHP

bars-web

Presinstallation

  1. Install apache2

  2. Enable port 8082 in apache

  3. Create file at /etc/apache2/sites-available/bars.dev.conf with the following content:

    <VirtualHost *:8082>
      DocumentRoot /home/amatasuarez/workspace/bars-web
      ServerAdmin admin@localhost
      ServerName bars.dev
      ServerAlias www.bars.dev
      ErrorLog ${APACHE_LOG_DIR}/error.log
      CustomLog ${APACHE_LOG_DIR}/access.log combined
      <Directory /home/amatasuarez/workspace/bars-web>
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
      </Directory>
    </VirtualHost>
    
  4. Install SQL and PHP extension and enable it for apache

  5. Add domain to /etc/hosts: 127.0.0.1 www.bars.dev

  6. Enable site in apache2:

  7. sudo a2ensite bars.dev.conf

  8. sudo service apache2 reload

  9. Review /wp-config.php and update configuration accordingly.

Installation & Development

  1. npm install
  2. php composer.phar install
  3. npm start