FoOlSlide is a ridiculously elaborated unmaintainable comic reader meant for users to enjoy reading
- Copy everything in the archive in a public server folder
- Create a database (MySQL, MSSQL, MySQLi, SQLite...)
- Go to http://yourdomain.com/slidefolder/install
- Insert database info and admin account info
- Done
This fork moves config.php to config/config.php so the folder can be mounted with docker
- Create a folder on the server for persistant files (will be reffered to as
<persistant>
) - Copy the
config
(config file) andcontent
(uploaded images, logs) folders into<persistant>
- Create an
apache_logs
folder for apache logs and ansql_db
folder (if using mysql in docker) in<persistant>
- Run
docker build -t foolslide .
to build the docker image - If using sql in docker run
docker run -d --name foolslide-mysql -e MYSQL_ROOT_PASSWORD=<sql_root_passward> -e MYSQL_USER=<sql_user> -e MYSQL_PASSWORD=<sql_password> -e MYSQL_DATABASE=<sql_database> -v '<persistant>/sql_db:/var/lib/mysql' mysql:8.0.3
- Run
docker run -d -p <port>:80 -v "<persistant>/apache_logs:/var/log/apache2" -v "<persistant>/content:/var/www/html/content" -v "<persistant>/config:/var/www/html/config" --link foolslide-mysql:sql --name foolslide foolslide
If not running mysql in docker, remove --link foolslide-mysql:sql
(You may need --network="host"
or something, I don't know). If you are, use sql
as the hostname for the db
- Go to step 3 of a normal install
To stop the containers run docker kill foolslide
and docker kill foolslide-mysql
In a dev environment you will likely want to replace -d
with --rm
and mount (-v
) the entire repo to /var/www/html