rgex / cubbyhole-server

Cubbyhole is a service that allows you to store files online, this repository contains the webserver part. This is a Supinfo project of the year 2013-2014

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Supinfo group project.

M1 project campus Guadeloupe

Team members are :

  • 124898 Jan Moritz LINDEMANN
  • 164271 Lionel CHRISTANVAL
  • 165003 Steeve BULGARE
  • 162095 Jérémy CETOUT
  • 164340 Mike ROUSSEAU

The project subject can be downloaded here :

Other related project repositories are :

Overview

File manager alt tag

User stats

alt tag

Business dashboard

alt tag

Server Setup

Install apache2, mysql-server, php5, git, php5-gd, php5-mysql, curl, php5-curl.

apt-get install apache2 mysql-server php5 git php5-gd php5-mysql curl php5-curl 

Create the database with the sql file that you will find in the sql folder.

Execute this command in order to activate the url rewriting.

a2enmod rewrite

Download the source codes from Github.

cd /var/www/
git clone https://github.com/rgex/cubbyhole-server
cd /var/www/cubbyhole-server
cp vhosts/cubbyhole-server /etc/apache2/sites-enabled/
service apache2 restart

Install vendor libraries with composer

php composer.phar install

You can also update them

php composer.phar update

install the worker (https://github.com/rgex/cubbyhole-worker)

Connect you on the cubbyhole server as an administrator and add the worker in the manage worker tab.

Update the server at any time by executing

cd /var/www/cubbyhole-server
git pull

If you want to display the maintenance page

git checkout maintenance-page

To show the site again

git checkout master

About

Cubbyhole is a service that allows you to store files online, this repository contains the webserver part. This is a Supinfo project of the year 2013-2014

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 59.7%Language:JavaScript 23.2%Language:HTML 14.4%Language:CSS 2.4%Language:ApacheConf 0.3%