sirf
?This site was originally named SIRF (Southern Investigative Reporting Foundation), but has since been changed to FFJ (The Foundation for Financial Journalism). All user facing names for the child theme have been updated to FFJ
, but changing the actual child theme directory name would cause issues detailed here: https://github.com/INN/umbrella-ffj/issues/12#issuecomment-600193502
This repository is designed to be set up in accordance with the VVV install instructions in INN/docs, that were introduced with https://github.com/INN/docs/pull/148
To get started, open a new terminal window.
Navigate to the vagrant-local/www directory.
And then run:
vv create
You'll then see a series of prompts. Respond thusly:
Prompt | Text to enter |
---|---|
Name of new site directory: | ffj |
Blueprint to use (leave blank for none or use largo): | largo |
Domain to use (leave blank for largo-umbrella.dev): | ffj.dev |
WordPress version to install (leave blank for latest version or trunk for trunk/nightly version): | hit [Enter] |
Install as multisite? (y/N): | n |
Git repo to clone as wp-content (leave blank to skip): | hit [Enter] |
Local SQL file to import for database (leave blank to skip): | This directory must be an absolute path, so the easiest thing to do on a Mac is to drag your mysql file into your terminal window here: the absolute filepath with fill itself in. |
Remove default themes and plugins? (y/N): | y |
Add sample content to site (y/N): | N |
Enable WP_DEBUG and WP_DEBUG_LOG (y/N): | N |
After reviewing the options and creating the new install (you'll be prompted part way through the install process to provide your admin password), proceed with the following steps:
cd
to the directory ffj/
in your VVV setupgit clone git@github.com:INN/umbrella-ffj.git
umbrella-ffj/
into htdocs/
, including all hidden files whose names start with .
periods.
rsync -rv umbrella-ffj/ htdocs
cd htdocs
to move to the folder where the umbrella now livesgit submodule update --init
to pull down all of the submodules you need (including, crucially, the tools repo)workon fabric
fab production wp.fetch_sql_dump
(or download via FTP if this doesn't work)fab vagrant.reload_db:mysql.sql