Site Starter
A minimal Liaison app, plus a setup script, to help you put up a Liaison powered website in no time.
Create a new site
- Go to a download folder:
-
cd ~/; mkdir .gitclone; cd .gitclone;
-
- Download the website starter:
-
git clone https://gitlab.com/taeluf/php/liaison-app/starter.git
- add setup script to your PATH:
-
echo "alias liasetup=\"php $(pwd)/starter/liasetup\"" >> ~/.bashrc
-
- (optional)Create copy of
code/apache/default-secret.json
atcode/apache/secret.json
& modify to have global settings for new sites on your system. - Go to your website folder:
cd /path/to/website/files
- Setup site:
liasetup
- Edit
secret.json
in your site directory to point to the correct autoload path