Slate
Converting an existing network
- Initialize empty repository:
cd /home/<subdomain> && git init
- Add remote:
git remote add origin https://github.com/pressbooks/slate.git
- Fetch and checkout:
git fetch && git checkout -t origin/master
- Install dependencies:
composer install
- Copy values from
/home/<subdomain>/wordpress/wp-config.php
into/home/<subdomain>/.env.example
, and copy the multisite configuration block (see first step here) from/home/<subdomain>/wordpress/wp-config.php
into/home/<subdomain>/wp-config.php.example
. - Rename
.env.example
and swapwp-config.php
files:
mv /home/<subdomain>/.env.example /home/<subdomain>/.env
mv /home/<subdomain>/wp-config.php.example /home/<subdomain>/wp-config.php
mv /home/<subdomain>/wordpress/wp-config.php /home/<subdomain>/wordpress/wp-config.php.old
Setting up a new network
TODO.