1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 01:03:40 +01:00

proper theme metadata, updated screenshot, document server setup

This commit is contained in:
Matthias Kretschmann 2016-03-31 14:44:12 +02:00
parent 179a024ebe
commit cbd4f1063b
3 changed files with 27 additions and 11 deletions

View File

@ -33,16 +33,32 @@ gulp build
## Deployment: Continuous Delivery
The site gets built & deployed automatically via Codeship under the following conditions:
The theme under `ascribe/` 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](_ci/deploy.sh) requires the following environment variables to be set:
Deployment happens via rsync'ing the theme build artifacts as defined in the [deployment script](_ci/deploy.sh):
variable | description
```bash
sudo rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
```
The [deployment script](_ci/deploy.sh) requires the following environment variables to be set in Codeship:
variable | description
---|---
`$DEPLOY_SRC` | source of CI build artifacts. On Codeship this is usually `~/src/github.com/ascribe/wp-theme/ascribe/`
`$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 deploy server, should be `PATH_ON_SERVER/wp-content/themes/`
`$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/`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 KiB

After

Width:  |  Height:  |  Size: 388 KiB

View File

@ -1,10 +1,10 @@
/**
* Theme Name: ascribe
* Theme URI: http://wordpress.org/themes
* Description: The best WordPress theme ever made!
* Author: Territorial
* Author URI: http://territorial.ca
* Version: 0.1.0
* Theme URI: https://www.ascribe.io
* Description: WordPress theme for ascribe's landing page and blog
* Author: Territorial & Matthias Kretschmann
* Author URI: https://matthiaskretschmann.com
* Version: 1.0.0
* Tags:
* Text Domain: wptheme
*