-
Clone the repo:
git clone [email protected]:kohactive/sage-but-better.git <project-name> cd <project-name> rm -rf .git git init
-
Change the root and theme directory names to
<project-name>
-
Find and replace
<project-name>
with the project name used in step 2 -
Add a
<description>
above -
Add the Migrate DB Pro connection information below
-
Add GitHub issue for launch checklist:
- [ ] favicon
- [ ] seo
- [ ] sitemap
- [ ] test contact form
- [ ] make sure "discourage search engines from indexing this site" is unchecked
- Remove this section from this readme
- Create local database:
wp_<project-name>
- "Save as"
wp-config-local-sample.php
towp-config-local.php
- Change variables to match your setup
git clone [email protected]:kohactive/<project-name>.git
- Navigate your browser to the local site: http://localhost/
- Follow the WordPress install instructions
- Activate Migrate DB Pro(license key is in 1password)
- If the project is not already set up and on staging:
- Activate Advanced Custom Fields
- Import
wp-content/themes/<project-name>/lib/acf-options.json
- If the project is already set up and on staging:
- Pull from staging(connection string below)
cd /path/to/<project-name>
- If you don't have the Gulp cli installed:
sudo npm install gulp-cli -g
./install.sh
./development.sh
To watch for changes:
./watch.sh
dev-.pantheonsite.io
Deploy:
git remote add pantheon <pantheon-git-url>
./deploy.sh <branch-name>
- set up local dev install to pull staging db
- DO NOT PUSH TO STAGING. MAKE DB EDITS ON STAGING & PULL.
Connection info:
<staging wp admin connection info>