Greenmine/install: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* Make a copy of the <code>{{arg|local config}}/example</code> folder and name it <code>{{arg|local config}}/local</code>.
* Make a copy of the <code>{{arg|local config}}/example</code> folder and name it <code>{{arg|local config}}/local</code>.


'''Editing in progress'''
{{hilite|'''documentation in progress'''}}
===Steps===
===Steps===
After [[htyp:Ferreteria/install|installing Ferreteria]], run these commands in a terminal on your web server:
After [[htyp:Ferreteria/install|installing Ferreteria]], run these commands in a terminal on your web server:
Line 18: Line 18:
  cp -R greenmine/example greenmine/local
  cp -R greenmine/example greenmine/local
edit the files in <code>greenmine/local</code> as needed
edit the files in <code>greenmine/local</code> as needed
{{hilite|'''documentation in progress'''}}


Note: might want to link instead of copying files that don't need to be edited, so the defaults get updated. Investigate later.
Note: might want to link instead of copying files that don't need to be edited, so the defaults get updated. Investigate later.

Revision as of 14:38, 7 November 2020

  • Install Ferreteria
  • Clone the Greenmine Git repository into a folder of your choice, which we'll call <greenmine base>.
  • Copy the <greenmine base>/config folder to a location outside of [greenmine base].
    • We'll call this new location <local config>.
    • My standard location for this is /home/<user>/site/config/greenmine
  • Make a copy of the <local config>/example folder and name it <local config>/local.

documentation in progress

Steps

After installing Ferreteria, run these commands in a terminal on your web server:

cd <$HOME>
su <$USER>
cd site/git
git clone git@gitlab.com:woozalia/greenmine.git
cd ../config
cp -R ../git/greenmine/config greenmine
cp -R greenmine/example greenmine/local

edit the files in greenmine/local as needed

documentation in progress

Note: might want to link instead of copying files that don't need to be edited, so the defaults get updated. Investigate later.