Greenmine/install: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
** My [[setups/vdomain|standard location]] for this is <code>/home/{{arg|user}}/site/config/greenmine</code> | ** My [[setups/vdomain|standard location]] for this is <code>/home/{{arg|user}}/site/config/greenmine</code> | ||
* 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''' | '''Editing 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: | ||
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 | |||
cp -R greenmine/example greenmine/local | |||
edit the files in <code>greenmine/local</code> as needed | |||
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:37, 7 November 2020
- Install Ferreteria
- Clone the Greenmine Git repository into a folder of your choice, which we'll call <greenmine base>.
- My standard location for this is
/home/<user>/site/git/greenmine/.
- My standard location for this is
- Copy the
<greenmine base>/configfolder 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
- We'll call this new location
- Make a copy of the
<local config>/examplefolder and name it<local config>/local.
Editing 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
Note: might want to link instead of copying files that don't need to be edited, so the defaults get updated. Investigate later.