1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 01:03:40 +01:00
WordPress theme for the old ascribe landing page and blog. Also a .zip archive of the site captured in 2018-09.
Go to file
2016-03-21 17:05:04 +01:00
_ci remove bundle line 2016-03-21 17:05:04 +01:00
ascribe move theme files into subfolder 2016-03-21 17:05:04 +01:00
assets/_src/less/ascribe move theme files into subfolder 2016-03-21 17:05:04 +01:00
functions move theme files into subfolder 2016-03-21 17:05:04 +01:00
partials sharing component 2016-03-17 16:08:16 +01:00
.editorconfig add .editorconfig 2015-12-17 15:21:15 +01:00
.gitignore remove .DS_Store files 2015-11-05 16:44:28 +01:00
.jshintrc convert tabs to spaces in whole codebase, closes #17 2015-12-17 15:55:34 +01:00
composer.json convert tabs to spaces in whole codebase, closes #17 2015-12-17 15:55:34 +01:00
gulpfile.js move theme files into subfolder 2016-03-21 17:05:04 +01:00
package.json prototype all the thing: FAQ layout, auto TOC, scroll anchors 2016-03-12 18:57:51 +01:00
phpunit.xml.dist convert tabs to spaces in whole codebase, closes #17 2015-12-17 15:55:34 +01:00
README.md add Codeship badge 2016-03-21 17:05:04 +01:00
yarpp-template-ascribe.php related posts through YARPP 2016-03-17 17:11:30 +01:00

wp-theme

WordPress theme for ascribe's landing page and blog

Codeship Status for ascribe/wp-theme

Prerequisites

  • node & npm
  • composer
npm install && composer

Development

On top of compiling css & js files, this starts a local, live-reloading server with BrowserSync:

gulp

The task assumes the following:

The following compiles css & js files only:

gulp build

Deployment: Continuous Delivery

The site gets built & deployed automatically via Codeship under the following conditions:

  • every push builds the site
  • every push to the master branch initiates a live deployment

The deployment script requires the following environment variables to be set:

variable description
$DEPLOY_SRC source of CI build artifacts. On Codeship this is usually ~/src/github.com/ascribe/wp-theme/ascribe/
$DEPLOY_USER user for connecting to deploy server
$DEPLOY_HOST hostname of deploy server
$DEPLOY_PATH path to deploy into on deploy server, should be PATH_ON_SERVER/wp-content/themes/