Greenmine/install: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


'''Editing in progress'''
'''Editing in progress'''
===Steps===
After [[htyp:Ferreteria/install|installing Ferreteria]], run these commands in a terminal on your web server (you can skip <code>[[mkdir]]</code> wherever the folder already exists):
* cd {{arg|$HOME}}
* su {{arg|$USER}}
* cd site/git
* {{l/htyp|git clone}} git@gitlab.com:woozalia/greenmine.git
* cd ../config
* cp -R ../git/greenmine/config greenmine
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:16, 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.


Editing in progress

Steps

After installing Ferreteria, run these commands in a terminal on your web server (you can skip mkdir wherever the folder already exists):

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

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