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

  1. Go to a download folder:
    • cd ~/; mkdir .gitclone; cd .gitclone;
  2. Download the website starter: -git clone https://gitlab.com/taeluf/php/liaison-app/starter.git
  3. add setup script to your PATH:
    • echo "alias liasetup=\"php $(pwd)/starter/liasetup\"" >> ~/.bashrc
  4. (optional)Create copy of code/apache/default-secret.json at code/apache/secret.json & modify to have global settings for new sites on your system.
  5. Go to your website folder: cd /path/to/website/files
  6. Setup site: liasetup
  7. Edit secret.json in your site directory to point to the correct autoload path