Greenmine/install: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The previous draft of installation instructions is [[/take 1|here]], for reference. [[Ferreteria]] is now included as a submodule of Greenmine, which affects folder locations and negates the need to clone it separately.
The previous draft of installation instructions is [[/take 1|here]], for reference. [[Ferreteria]] is now included as a submodule of Greenmine, which affects folder locations and negates the need to clone it separately.
I'll use the following shorthand:
* '''{{arg|www}}''' = the public HTML folder (typically <code>public_html</code> or <code>www</code>)
* '''{{arg|gm}}''' = the Greenmine base folder (I usually put it at ~/site/git/greenmine
* '''{{arg|uhome}}''' = the home folder for the domain's files (outside of {{arg|www}})
{|
|-
! Action / Intention !! Example Commands
|-
| Set up folder structure
|
cd {{arg|uhome}}
mkdir site
cd site
mkdir git
|-
| Install Greenmine & Ferreteria
|
cd git
git clone git@gitlab.com:woozalia/greenmine.git
|-
| Make soft links from <code>www</code> to <code>greenmine/
|}


{{hilite|'''documentation in progress'''}}
{{hilite|'''documentation in progress'''}}


'''TODO''': document creation of database and tables
'''TODO''': document creation of database and tables

Revision as of 02:12, 11 November 2021

The previous draft of installation instructions is here, for reference. Ferreteria is now included as a submodule of Greenmine, which affects folder locations and negates the need to clone it separately.

I'll use the following shorthand:

  • <www> = the public HTML folder (typically public_html or www)
  • <gm> = the Greenmine base folder (I usually put it at ~/site/git/greenmine
  • <uhome> = the home folder for the domain's files (outside of <www>)
Action / Intention Example Commands
Set up folder structure
cd <uhome>
mkdir site
cd site
mkdir git
Install Greenmine & Ferreteria
cd git
git clone git@gitlab.com:woozalia/greenmine.git
Make soft links from www to greenmine/

documentation in progress

TODO: document creation of database and tables