Skip to content

Instantly share code, notes, and snippets.

@markbain
Last active December 30, 2015 08:42
Show Gist options
  • Select an option

  • Save markbain/75a0d85a2ca686d6aefb to your computer and use it in GitHub Desktop.

Select an option

Save markbain/75a0d85a2ca686d6aefb to your computer and use it in GitHub Desktop.
WP Project setup checklist

WP Project setup checklist

Staging server

  • Configure sub-domain
  • Configure database

Local environment

  • Configure hosts

Install WordPress

  • In /htdocs, git clone https://github.com/WordPress/WordPress.git NEW_PROJECT-NAME/httpdocs
  • Delete .git
  • wp-config.php git clone https://gist.github.com/4e216af02104e87f6b7a.git
  • Get salts
  • Go to URL and follow setup procedure

Install deploy scripts

Do not commit config.shto your repo!

  • git clone https://github.com/markbaindesign/mbd-wp-deploy-scripts.git NEW_PROJECT-NAME/scripts
  • cd NEW_PROJECT-NAME
  • mkdir import
  • mkdir export
  • cp config-sample.sh config.sh
  • Edit config.shwith your project's environmental variables

Git

  • Gitignore: git clone https://gist.github.com/b41e14fc9fc40f578a6d.git

Various

Sublime

  • git clone https://gist.github.com/81ad104299df655284b7.git

Grunt

  • Edit Gruntfile.js

npm

  • Run npm install

Bower

Bower is a package manager for the web.

  • Edit bower.jsonwith your project name and dependencies

  • Run bower install

  • Run grunt copyassets

  • Install theme boilerplate

  • Configure sub-domain

  • Configure sub-domain

  • Configure sub-domain

  • Configure sub-domain

  • [ ]

  • [ ]

  • [ ]

  • [ ]

  • [ ]

  • [ ]

  • [ ]

  • [ ]

  • Set up dev environment

  • [ ]set up hide-my-site plugin (customise if required)

  • [ ]set discourage search engines [ ]Add salts to wp-config.php [ ]Set up [ ]Set up & test deploy scripts [ ]Export local site

[ ]Get access to server FTP/database [ ]Get access to hosting panel [ ]Access to domain registrar [ ]MailChimp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment