2017 © Pedro Peláez
 

project thunderpress

Slim WordPress stack inspired by Bedrock

image

asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  • Friday, April 1, 2016
  • by asmbs
  • Repository
  • 3 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Thunderpress

A slim WordPress stack inspired heavily by Bedrock., (*1)

Features

  • Uses Mina for deploy management.
  • Includes the wp-parsedown plugin to convert WordPress to a Markdown-only CMS.
  • Adds several other common and useful plugins out of the box.
  • Uses PHP dotenv for more secure site config
  • Uses environment-specific config files

Requirements

Installation

  1. Clone this repo, or download a release.
  2. Run composer install.
  3. Copy .env.example to .env and modify your config parameters (see below).
  4. Add any bespoke plugins/themes (be sure to update your .gitignore so they'll be tracked).
  5. Set your host's document root to /path/to/vhost/web (or /path/to/vhost/current/web if you're using Mina for deploys).
  6. Go!

Your site's WP Admin will be available at http://example.com/wp/wp-admin., (*2)

Environment Variables

Note: Never track your .env file in git!, (*3)

Site Environment, (*4)

; Default values shown
WP_ENV     = 'development'
WP_HOME    = 'http://example.com'
WP_SITEURL = 'http://example.com/wp'

Database, (*5)

; Default values shown
DB_NAME     = 'database_name'
DB_USER     = 'database_user
DB_PASSWORD = 'database_password'
DB_HOST     = 'localhost'
DB_PREFIX   = 'wp_'

Keys/Salts
You can generate these automatically with composer run-script salts., (*6)

AUTH_KEY         = ''
SECURE_AUTH_KEY  = ''
LOGGED_IN_KEY    = ''
NONCE_KEY        = ''
AUTH_SALT        = ''
SECURE_AUTH_SALT = ''
LOGGED_IN_SALT   = ''
NONCE_SALT       = ''

Optional Settings, (*7)

; Use another WordPress site in your data to manage users
WP_USER_TABLE      = ''
WP_USER_META_TABLE = ''

; Adjust PHP settings
WP_MEMORY_LIMIT = '128M'

; Analytics tracking (see below)
GA_PROPERTY_ID = 'your_property_id'

Deploying

Make sure mina is installed before continuing:, (*8)

gem install mina
  1. Edit config/deploy.rb to set up global parameters., (*9)

  2. To configure a target, copy the example environment.rb.example file to <target>.rb, where <target> is the name of the environment you want to deploy to. You can have as many target environments as you want., (*10)

  3. Set up the deploy directory on the server:, (*11)

    mina setup server=<target>
    
  4. You can deploy to an environment using any branch, commit or tag:, (*12)

    # Uses master branch by default
    mina deploy server=<target>
    
    # Specify a branch
    mina deploy server=<target> branch=<branch-name>
    
    # Specify a commit
    mina deploy server=<target> commit=<commit-sha>
    
    # Specify a tag
    mina deploy server=<target> tag=<tag-name>
    

Other Stuff

Google Analytics

Thunderpress includes a built-in plugin (not must-use, you have to activate it) that will automatically add your Google Analytics tracking script. To use it:, (*13)

  1. Activate the plugin
  2. Set the GA_PROPERTY_ID environment variable in .env
  3. That's it—the script will be added to your pages automatically.

Note: The tracking script will not be added if you're logged in with admin/editing capabilities., (*14)

The Versions

01/04 2016

dev-master

9999999-dev https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

01/04 2016

dev-development

dev-development https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

01/04 2016

v2.1.3

2.1.3.0 https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

29/03 2016

v2.1.2

2.1.2.0 https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

21/03 2016

v2.1.1

2.1.1.0 https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

21/03 2016

v2.1.0

2.1.0.0 https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress composer mina

01/03 2016

v2.0.0

2.0.0.0 https://github.com/asmbs/thunderpress

Slim WordPress stack inspired by Bedrock

  Sources   Download

MIT

The Requires

 

wordpress composer mina

05/02 2016

v1.3.1

1.3.1.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

04/02 2016

v1.3.0

1.3.0.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

01/06 2015

v1.2.1

1.2.1.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

01/04 2015

v1.2.0

1.2.0.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

19/03 2015

v1.1.0

1.1.0.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

13/03 2015

v1.0.1

1.0.1.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs

13/03 2015

v1.0.0

1.0.0.0 https://github.com/asmbs/thunderpress

A slimmer WordPress stack

  Sources   Download

MIT

The Requires

 

wordpress wp stack composer mina grunt asmbs