Steps to install SiteBrush on your server:
- Update packages:
apt-get update
- Install necessary packages:
apt-get -y install curl docker.io bash
- Run SiteBrush installation:
curl -L https://raw.githubusercontent.com/matveynator/sitebrush-v1/master/install-sitebrush-in-docker.sh > /tmp/install-sitebrush-in-docker.sh && bash /tmp/install-sitebrush-in-docker.sh
- Create directories for backup and data:
mkdir -p /backup/sitebrush/mysql /backup/sitebrush/data
- Create Docker volumes:
docker volume rm sitebrush_mysql_data sitebrush_site_data docker volume create --opt type=none --opt device=/backup/sitebrush/mysql --opt o=bind sitebrush_mysql_data docker volume create --opt type=none --opt device=/backup/sitebrush/data --opt o=bind sitebrush_site_data
- Run the SiteBrush container:
docker run -d -p 80:80 -v "/etc/timezone:/etc/timezone:ro" -v "/etc/localtime:/etc/localtime:ro" -v sitebrush_mysql_data:/var/lib/mysql -v sitebrush_site_data:/opt/sitebrush.com -e MAILHUB="smtp.gmail.com:587" -e EMAIL="example@gmail.com" -e DOMAIN="gmail.com" -e AUTH_USER="example@gmail.com" -e AUTH_PASS="PASSWORD" --restart=unless-stopped --name=sitebrush matveynator/sitebrush-v1:latest
Demo: sitebrush.com
Installing SiteBrush allows you to edit your website online without the need for knowledge of complex technical details. This editor combines the benefits of dynamic and static websites, providing convenience and high page loading speed.
- Result - static HTML.
- Visual editor and ability to work with HTML/CSS/JavaScript.
- Automatic backup and website restoration.
- Support for repeating elements on all pages.
- Automatic import of all necessary files.
- Support for changing page addresses without 404 errors.
- Freeze mode for editing and publishing without downtimes.