Giter Site home page Giter Site logo

tdmalone / tm-id-au Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 344 KB

Custom, lean WordPress theme for the tm.id.au static site.

Home Page: https://tm.id.au

License: GNU General Public License v3.0

Shell 6.98% JavaScript 2.99% PHP 69.45% CSS 20.58%
wordpress wordpress-theme blog tm-id-au

tm-id-au's Introduction

tm.id.au

Custom, lean WordPress theme for tm.id.au.

Designed to be converted to a static site with the Simply Static plugin.

Installation

From your wp-content/themes directory, run:

git clone https://github.com/tdmalone/tm-id-au.git
cd tm-id-au
yarn
yarn build

Then activate the theme via Appearance -> Themes in WordPress admin.

Building, Developing and Testing

To get started:

yarn
composer install

To build once:

yarn build

To turn on watch mode (useful during development):

yarn watch

JS and Sass linting are handled by Node packages (and thus via Yarn scripts); PHP linting is handled via a Composer package (and thus via Composer scripts):

yarn lint
composer lint

To apply lint fixes automatically (use with caution - make sure your working tree is clean first):

yarn fix
composer fix

Run tests (which may or may not do much yet!):

yarn test
composer test

Deployment

Deployment of this repo to tm.id.au is handled by Travis CI.

After linting and tests pass, the custom .deploy.sh script is run. This performs a number of steps to deploy to the firewalled EC2 instance that my WordPress instance is running on. It triggers static site generation via a custom WP-JSON endpoint for the Simply Static plugin, which then triggers syncing to S3 via an on-server script.

License

GPLv3.

tm-id-au's People

Contributors

tdmalone avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.