VbzCart/docs/install: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs
Jump to navigation Jump to search
imported>Woozle
(in progress)
imported>Woozle
(some updates)
Line 12: Line 12:
* Set up database and tables (instructions to be written)
* Set up database and tables (instructions to be written)
==Woozle's setup==
==Woozle's setup==
Some specifics of how I usually set things up these days (on a virtual server, where {{arg|$HOME}} is the home folder of the virtual domain's user account (e.g. <code>/home/vbz/domains/wdev.vbz.net</code> for the dev instance I'm currently setting up):
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:
* {{arg|$HOME}} is the home folder of the virtual domain's user account
** e.g. <code>/home/wvbz/</code>
* {{arg|$USER}} is the system user that Apache will run as
** e.g. <code>wvbz</code>
 
Preparation: you'll need to have {{arg|$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 {{arg|$HOME}}
* cd {{arg|$HOME}}
* su {{arg|$USER}}
* [[mkdir]] site
* [[mkdir]] site
* cd site
* cd site

Revision as of 01:08, 10 October 2019

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