VbzCart/docs/install

From Woozle Writes Code
< VbzCart‎ | docs
Revision as of 01:08, 10 October 2019 by imported>Woozle (some updates)
Jump to navigation Jump to search

Prerequisites: Linux, PHP 7, MySQL-workalike, Apache.

This page will eventually need to include a lot more information, but for now the basic setup procedure is:

  • Clone the VbzCart Git repository at [git@gitlab.com:woozalia/VbzCart.git into a folder of your choice, which we'll call [vbzcart base].
  • Copy the [vbzcart base]/config folder to a location outside of [vbzcart base].
    • We'll call this new location [local config].
    • My standard location for this is /home/vbz/site/config/vbzcart
  • Copy the [local config]/examples folder to [local config]/local
  • Modify each file to match your local environment, according to instructions in each file.
  • Optional: modify files in [local config]/portable as needed.
  • Install Ferreteria
  • Set up database and tables (instructions to be written)

Woozle's setup

Some specifics of how I usually set things up these days, giving examples from the dev instance I'm setting up as I type this: Definitions:

  • <$HOME> is the home folder of the virtual domain's user account
    • e.g. /home/wvbz/
  • <$USER> is the system user that Apache will run as
    • e.g. wvbz

Preparation: you'll need to have <$USER>'s account set up with an ssh key that can access GitLab. At least, I think that's the requirement. It might be more GitLab-project-specific.

Commands:

  • cd <$HOME>
  • su <$USER>
  • mkdir site
  • cd site
  • mkdir git
  • cd git
  • git clone git@gitlab.com:woozalia/VbzCart.git

in progress