2017 © Pedro Peláez
 

project arlo-timber-framework

A Composer Framework to help you get WordPress with Timber up and running in around a minute

image

asha23/arlo-timber-framework

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  • Wednesday, June 13, 2018
  • by asha23
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 22 Versions
  • 67 % Grown

The README.md

Arlo Timber

A Wordpress/Composer framework. Using Timber/Twig for templating

composer create-project asha23/arlo-timber-framework your-folder-name

GitHub issues GitHub forks GitHub stars, (*1)

This assumes prior knowledge of how to set up WordPress themes. Feel free to make improvements to this., (*2)

It's very (very) loosely based on how Bedrock approach things, but with a much more simplified method for differentiating between dev/staging/production databases., (*3)

If you like Bedrock, then great! It's pretty awesome, so fill your boots. But if, like me, you find it a little over complicated, then this framework/approach might be more up your alley as I've deliberately tried to keep it all really simple., (*4)

You can get up and running with a complete WordPress environment in about a minute., (*5)

Basic installation instructions

  • Create a new repository for your project
  • Download this as a zip file and unzip into the repository - https://bitbucket.org/this-is-pegasus-team/pegasus-wordpress-composer/get/master.zip
  • Open a terminal and browse to the folder you are using
  • Install Composer - https://getcomposer.org/
  • Install Node - https://nodejs.org/en/
  • Install Bower - https://bower.io/
  • Install Yarn - https://yarnpkg.com/
  • Rename .env-example to .env and fill out the relevant fields.
  • Once you have Composer installed, then you need to run $ composer install. This will install all the base plugins and a seed theme into the correct directories.
  • Send an initial commit to your repository
  • Get started.

Use Composer to install

To use the package file, (*6)

composer create-project asha23/arlo-timber-framework your-folder-name

Requirements

You should get a license for Advanced Custom Fields pro for this framework as it is a key part of how it works., (*7)

Getting started

There is a Vagrant file in the folder which uses a version of Scotchbox for Vagrant:
Run vagrant up from the root folder (Not currently tested) - Your website will then be available on, (*8)

192.168.33.10

The following information should be used to connect to the database

MySql Host: 127.0.0.1
Username: root
Password: root, (*9)

SSH Host: 192.168.33.10
SSH User: vagrant
SSH Password: vagrant, (*10)

Alternatively, just use MAMP. Or something like https://www.themejuice.it, which provides an excellent and user-friendly environment for locally developing with WordPress. Or any other method you like for deploying locally., (*11)

Vagrant is the recommended method as it keeps everything self contained., (*12)

.env-example file

There is a .env-example file in the root. You should fill out the relevant information in this file and then re-save it as .env. Once you have done this, you can then edit the web/wp-config.php file and add salts, or do other configurations., (*13)

There is information for 3 environments contained here, development, production and staging. Filling out this information correctly will make sites easier to deploy as it will auto-detect which database to use depending on your environment., (*14)

Add your ACF Pro key to here as well., (*15)

Notes on the .gitignore.

This installation by default ignores everything but your theme. You will need to create a deployment of wordpress on your production environment and run composer install., (*16)

If you can't do this simply upload the files as required. I decided to not include all the WordPress stuff in the repo because in the most part it's an uneccesary step really., (*17)

Feel free to edit the .gitignore file though if you want to change this., (*18)

Notes about the seed theme

You can view the seed theme repo here, (*19)

This theme uses Gulp for compilation and Bower for JavaScript dependency management. It is also based around SASS Bootstrap 3., (*20)

The main folder structure is as follows:, (*21)

web/content
web/wp

The content folder contains all the themes, plugins and files for the front-end., (*22)

The wp folder is the base WordPress installation - You should not change anything in here., (*23)

Arlo? What?

Arlo is the name of my son. So this is dedicated to him, the little monster., (*24)

The Versions

13/06 2018

dev-master

9999999-dev

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/06 2018

v1.2.9.1

1.2.9.1

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/06 2018

v1.2.9

1.2.9.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/06 2018

v1.2.8.1

1.2.8.1

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/06 2018

v1.2.8

1.2.8.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

18/04 2018

v1.2.7

1.2.7.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

18/04 2018

v1.2.6

1.2.6.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

27/03 2018

v1.2.4

1.2.4.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.2.2

1.2.2.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.2.3

1.2.3.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.2.1

1.2.1.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.2.0

1.2.0.0

A Composer Framework to help you get WordPress with Timber up and running in around a minute

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.1.9

1.1.9.0

Wordpress base installation using Timber/Twig - Helps you get up and running in minutes.

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.1.8

1.1.8.0

Wordpress base installation using Timber/Twig - Helps you get up and running in minutes.

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.1.7

1.1.7.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

23/03 2018

v1.1.6

1.1.6.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

05/03 2018

v1.1.5

1.1.5.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

12/05 2017

v1.1.4

1.1.4.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

14/03 2017

v1.1.3

1.1.3.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/03 2017

v1.1.2

1.1.2.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/03 2017

v1.1.1

1.1.1.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme

13/03 2017

v1.1.0

1.1.0.0

Wordpress base installation using Timber/Twig

  Sources   Download

MIT

The Requires

 

by Ash Whiting

wordpress wp composer vagrant wordpress framework arlo base theme