Project for "Systems and Network Hacking" course @ University of Pisa
First, you need to set up the settings file for the webserver:
$ cd website/public_html/includes
$ cp settings.php.sample settings.php
$ gedit settings.php # customize it as you need
Then, you can run it using docker-compose:
$ docker-compose up --build -d
This will start a webserver on port 80 and a mariadb server in a separate container.
Otherwise, copy the website/public_html
folder in /var/www
(in case of
Apache).
scripts
: contains the script used to scrape for ebookssql
: contains SQL files:cron
: scripts to be called periodically to clean up DBinitial_scripts
: scripts used to set up the DB (schema and initial values)migrations
: development-only
website
: website-related filespublic_html
: website rootincludes
: PHP included files, not directly accessiblevendor
: external dependencies
ebooks
: ebook storage, not directly accessiblecss
: included css filesjs
: included javascript files
Dockerfile
: website Dockerfilestartup.sh
: entry point for Docker container
- Zaccaria Essaid @zaccaria97
- Mirko Laruina @mirko-laruina
- Riccardo Mancini @manciukic