Greenmine/install: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
(Replaced content with "The previous draft of installation instructions is here, for reference. {{hilite|'''documentation in progress'''}} '''TODO''': document creation of database...")
Tag: Replaced
Line 1: Line 1:
* Install [[Ferreteria]]
The previous draft of installation instructions is [[/take 1|here]], for reference.
** This creates some folders which the following instructions assume already exist.
* Clone the [https://gitlab.com/woozalia/greenmine Greenmine Git repository] into a folder of your choice, which we'll call {{arg|greenmine base}}.
** My [[setups/vdomain|standard location]] for this is <code>/home/{{arg|user}}/site/git/greenmine/</code>.
* Copy the <code>{{arg|greenmine base}}/config</code> folder to a location outside of <code>[greenmine base]</code>.
** We'll call this new location <code>{{arg|local config}}</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>.
===Steps===
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
 
{| style="background: #fef;"
|-
| style="border: 1px solid blue;" valign=top |
====For standard install:====
cp -R ../git/greenmine/config greenmine
cp -R greenmine/example greenmine/local
This just copies the config folders from the git repository into the site configuration.
| style="border: 1px solid blue;" valign=top |
====For developers:====
mkdir greenmine
ln -rs ../git/greenmine/config/example greenmine/example
ln -rs ../git/greenmine/config/portable greenmine/portable
This makes links from the site configuration folders back to the git repository, so any alterations to portable files will be included in git commits.
|}
Then:
ln -rs ../git/greenmine/dropins/WorkFerret WorkFerret
* Edit the files in <code>greenmine/local</code> as needed. You will definitely need to edit creds.php in order to get things working.


{{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 23:00, 10 November 2021

The previous draft of installation instructions is here, for reference.

documentation in progress

TODO: document creation of database and tables