Skip to content

Instantly share code, notes, and snippets.

View ErisDS's full-sized avatar

Hannah Wolfe ErisDS

View GitHub Profile
@ErisDS
ErisDS / ansible.cfg
Last active May 12, 2017 17:44
Provision Ghost using the DO image & login to get the bash script to run
[defaults]
host_key_checking = False
@ErisDS
ErisDS / recurly-xml-to-json.js
Created May 11, 2017 15:07
Convert Recurly XML to JSON, with promises.
'use strict';
const _ = require('lodash');
const Promise = require('bluebird');
const debug = require('ghost-ignition').debug('xml2json');
const xmlParseOptions = {
explicitArray: false
};
const parser = new require('xml2js').Parser(xmlParseOptions);
const convertableTypes = ['integer', 'datetime', 'array'];
@ErisDS
ErisDS / setup.md
Last active April 13, 2019 09:58
Setup steps for installing Ghost on a fresh Ubuntu 16.04 server

Variables:

<server_ip> - ip of the server the blog is being installed on - name for the server e.g. "myblog" - domain name e.g. "myblog.mycompany.com" <ghost_mysql_pw> - a password for a ghost user in mysql <ssl_email> - an email address for letsencrypt

Steps to get from Ubuntu 16.04 fresh install to Ghost

Largely based on the following:

1) Accesstoken Model "after each" hook: teardown for "on creation emits token.added event":
InternalServerError: The server has encountered an error.
at new KnexMigrateError (node_modules/knex-migrator/lib/errors.js:7:26)
at node_modules/knex-migrator/lib/database.js:120:39
at tryCatcher (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/release/promise.js:687:18)
at Async._drainQueue (node_modules/knex-migrator/node_modules/knex/node_modules/bluebird/js/r
@ErisDS
ErisDS / changelog.md
Last active November 2, 2016 09:07
Full 0.11.3 Changelog
  • e727006 Version bump to 0.11.3 - Hannah Wolfe
  • d6d17e1 Updated Ghost-Admin to 0.11.3 - Hannah Wolfe
  • c33e887 Version bump to 0.11.3 - Hannah Wolfe
  • 93c18cf 💄 LTS node version in engines (+v6.9 -v0.10) (#370) - Hannah Wolfe
  • 3b56d36 chore(package): update lodash to version 4.16.5 (#374) - Greenkeeper
  • ae1e978 chore(package): update moment to version 2.15.2 (#363) - Greenkeeper
  • c20bf50 🔥 Drop support for Node.js v0.10 (#7644) - Hannah Wolfe
  • 3ea8f7c Use moment-timezone when using .tz() (#7643) - Hannah Wolfe
  • [4e27f7a](https://github.com/TryGhost/Ghost/commit/4e27f7a
@ErisDS
ErisDS / changelog.md
Created October 31, 2016 15:13
Full 1.0.0-alpha.7 Changelog
  • a59ac26 Version bump to 1.0.0-alpha.7 - Hannah Wolfe
  • 9a39938 Updated Ghost-Admin to 1.0.0-alpha.7 - Hannah Wolfe
  • 0761891 Version bump to 1.0.0-alpha.7 - Hannah Wolfe
  • 9a7ebee Use moment-timezone when using .tz() (#7653) - Hannah Wolfe
  • 29cbb0b chore(package): update lodash to version 4.16.5 (#374) - Greenkeeper
  • aacd688 chore(package): update moment to version 2.15.2 (#363) - Greenkeeper
  • dfa073c Ghost Editor 0.1.1 (#7649) - Ryan McCarvill
  • be183f3 🐛 fix DST in listeners spec (#7652) - Katharina Irrgang
  • 8d0a396 G
@ErisDS
ErisDS / changelog.md
Created October 12, 2016 16:50
Full 0.11.2 Changelog
  • a041223 Version bump to 0.11.2 - Hannah Wolfe
  • 915ddcf Updated Ghost-Admin to 0.11.2 - Hannah Wolfe
  • 72746ee Version bump to 0.11.2 - Hannah Wolfe
  • 42698c5 🐛 Allow migrations to run if theme is not present (#7538) - Hannah Wolfe
  • 7918d4a 🐛 Subscribers: validate urls (#7539) - Hannah Wolfe
  • b056f35 chore(package): update nock to version 8.1.0 (#7534) - Greenkeeper
  • 3249ef7 chore(package): update should to version 11.1.1 (#7530) - Greenkeeper
  • 0287ec2 chore(package): update mocha to version 3.1.1 (#7527) - Greenkeeper
  • 0619504 chore(pac
@ErisDS
ErisDS / changelog.md
Created October 10, 2016 16:32
Full 1.0.0-alpha.4 Changelog
  • 2e9aa8c Version bump to 1.0.0-alpha.4 - Hannah Wolfe
  • 1bb27cc Updated Ghost-Admin to 1.0.0-alpha.4 - Hannah Wolfe
  • e4d05b7 Version bump to 1.0.0-alpha.4 - Hannah Wolfe
  • 29a48d0 🐛 logging: temporary fix for info,warn and debug logging (#7533) - Katharina Irrgang
  • 64ac53c 🐛 Short log still needs data.msg (#7532) - Hannah Wolfe
  • d979bd4 🎨 Add support for short one-line log format (#7523) - Hannah Wolfe
  • c4fa342 ✨ Migration runner - first iteration (#7501) - Katharina Irrgang
  • 637d177 🎨 operate on separate nconf instance (#7528) - Katharina Irrgang
  • [b9dc5ba](https://github.com/TryGhos
@ErisDS
ErisDS / changelog.md
Created September 30, 2016 22:36
Full 0.11.1 Changelog
  • 970aa98 Version bump to 0.11.1 - Hannah Wolfe
  • 91e554a Version bump to 0.11.1 - Hannah Wolfe
  • 30e3fd0 Updated Ghost-Admin to 0.11.1 - Hannah Wolfe
  • 7bec3f7 Revert "replace gh-select-native with one-way-select" - Hannah Wolfe
  • 94a7181 Revert "deps: ember-ajax@2.5.1" - Hannah Wolfe
  • d1d0651 Upgrading Casper to 1.3.2 - Hannah Wolfe
  • 8761579 🐛 optimise how we populate default settings (#7465) - Katharina Irrgang
  • 3159e6b 🐛 force 008 sqlite user to re-run 008 (#7461) - Katharina Irrgang
  • 96741e6 🎨 run database population in t
@ErisDS
ErisDS / categories.txt
Created September 27, 2016 15:28
New marketplace categories
Personal Blogs
Magazine Layouts
News Sites
Business Blogs
Minimal
Photography Corner
Video Heavy
Artistic
Social Hubs
Grid Based