WordPress theme for the old ascribe landing page and blog. Also a .zip archive of the site captured in 2018-09.
Go to file
Matthias Kretschmann faff0725cd
add environment variables to .travis.yml
2016-06-23 13:41:51 +02:00
_ci Travis setup 2016-06-23 13:27:05 +02:00
ascribe proper theme metadata, updated screenshot, document server setup 2016-03-31 14:44:12 +02:00
.editorconfig add .editorconfig 2015-12-17 15:21:15 +01:00
.gitignore remove dist files from repo, ref #22 2016-03-21 17:05:19 +01:00
.jshintrc convert tabs to spaces in whole codebase, closes #17 2015-12-17 15:55:34 +01:00
.travis.yml add environment variables to .travis.yml 2016-06-23 13:41:51 +02:00
README.md Travis setup 2016-06-23 13:27:05 +02: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

wp-theme

WordPress theme for ascribe's landing page and blog

Build Status

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 theme under ascribe/ gets built & deployed automatically via Travis under the following conditions:

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

Deployment happens via rsync'ing the theme build artifacts as defined in the deployment script:

sudo rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH

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

variable description
$DEPLOY_SRC source of CI build artifacts. On Codeship this is usually just relative to cloned repo path, so ascribe/
$DEPLOY_USER user for connecting to deploy server
$DEPLOY_HOST hostname of deploy server
$DEPLOY_PATH path to deploy into on the server, should be PATH_ON_SERVER/wp-content/themes/

Server documentation

Site is hosted on an AWS EC2 instance with WordPress running on nginx.

Option Server path
Host ec2-52-29-65-193.eu-central-1.compute.amazonaws.com
WordPress installation /var/www/ascribe-wp/
Active theme /var/www/ascribe-wp/wp-content/themes/ascribe/