Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.

A barebones website for the Web Technologies class (@ univaq).

Notifications You must be signed in to change notification settings

whatyouhide/university-gamespot

Repository files navigation

Gamespot

A bare bones website for the Web Technologies class @ univaq.

The website is built with vanilla PHP, and uses MySQL as a DBMS. It's served by Apache (.htaccess is a fundamental component of the website).

Installation

This short installation guide will assume that the website will be installed on an Ubuntu server machine. It should work (with minor tweaks if need be) on other Linux distributions too.

LAMP

Follow this guide from DigitalOcean in order to setup Apache, MySQL and PHP on your server.

Apache setup

Enable the mod_rewrite module with:

a2enmod rewrite

Create a file tdw.whatyouhi.de in /etc/apache2/sites-enabled with this content:

<VirtualHost *:80>
  ServerAdmin webmaster@localhost

  ServerName tdw.whatyouhi.de
  DocumentRoot /home/whatyouhide/gamespot

  <Directory />
    Options FollowSymLinks
    AllowOverride None
  </Directory>

  <Directory /home/whatyouhide/gamespot>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    Require all granted
    </Directory>
</VirtualHost>

config.ini

Copy config.ini.example to config.ini on the server and tweak the configurations to your needs.

Synching

When you want to sync the website, just issue:

gamespot-sync

If direnv is enabled, otherwise:

bin/gamespot-sync

This will also regenerate the documentation on the server.

About

A barebones website for the Web Technologies class (@ univaq).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published