Next: Setup

BMC/UUP-SITE - Usage

It's recommended to use the uup-site.sh script to perform most tasks. The script can be used from local directory or downloaded to a shared location:

cd /usr/local/bin
wget https://it.bmc.uu.se/andlov/php/uup-site/files/uup-site.sh
uup-site.sh --help
uup-site.sh - Setup and management tool.

Usage: uup-site.sh --bootstrap [composer-options]
       uup-site.sh --setup [--auth] [--edit] [--locale] [--guide] [--examples]
       uup-site.sh --config <options>
       uup-site.sh --develop
       uup-site.sh --migrate <dir>|<file>...

Options:
  --bootstrap : Bootstrap new instance using composer.
  --setup     : Setup site, tools and theme(s).
  --auth      : Install authentication plugin.
  --edit      : Install online edit plugin.
  --locale    : Install support for gettext translation.
  --guide     : Install end-user content publisher guide.
  --examples  : Install examples in public.
  --config    : Run configuration script (batch).
  --develop   : Setup develop mode.
  --migrate   : Migrate existing site (expert).
  --verbose   : Be verbose about executed commands.

Example:
  # Generate composer.json and install requirements (see --bootstrap --help)
  uup-site.sh --bootstrap

  # Setup for virtual host
  uup-site.sh --setup --auth --edit --guide

  # Setup for web application
  uup-site.sh --setup --auth

  # Setup for location /myapp
  uup-site.sh --location /myapp --setup --auth

Notice:
  1. The --location or --verbose options must be used before any other option.

Copyright (C) 2015-2018 Nowise Systems and Uppsala University (Anders Lövgren, BMC-IT)