git clone git@github.com:dockerguild/bookstack.git bookstack
cd bookstack
rm -fr .git
git init
git remote add origin {your_repository}
Requirement : Nginx
Edit vhost config/nginx/proxy.conf
and register it to nginx
ln -s "${PWD}/config/nginx/proxy.conf" /etc/nginx/sites-enabled/bookstack.conf
service nginx restart
Edit vhost config/crontab/crontab
and register it to crontab
ln -s "${PWD}/config/crontab/crontab" "/etc/cron.d/bookstack"
Start containers
make start
Restart containers
make restart
Down containers
make down
Update containers
make update
Before your must configure .make/filesystem
and .make/mysql
according to your use.
You must also set up an external backup system !
Dump containers files
make filesystem/dump
Dump mysql database
make mysql/dump
Restore containers files
make filesystem/restore
Restore mysql database
make mysql/restore
For crontab usage
bash /path_to_project/bin/console.sh dump