Skip to content
Chris Kankiewicz edited this page Apr 11, 2014 · 11 revisions

Installation Instructions

Install required packages

$ sudo apt-get install git nginx php5-fpm php5-gd php5-mysql php5-cli php5-curl php5-json mysql-server

Clone the repo

$ git clone https://github.com/PHX2600/spookileaks.git /var/www/SpookiLeaks

CD to the app

$ cd /var/www/SpookiLeaks

Install dependencies

$ php composer.phar install

Copy config files

$ cp Config/core.php.default Config/core.php # Change any settings necessary
$ cp Config/database.php.default Config/database.php # Modify your database credentials

Initialize the database

$ Console/cake schema create

Set flag contents

$ nano Docs/flag.txt

Set permissions

$ sudo chown root:root Docs/flag.txt
$ sudo chmod 600 Docs/flag.txt
$ sudo chmod 777 webroot/uploads

Other things

  • Set up a vhost