Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #88 from Financial-Times/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
matthew-andrews committed Apr 29, 2015
2 parents ce441da + b851bec commit 8b24148
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@

Commands:

deploy [app] runs haikro deployment scripts with sensible defaults for Next projects
configure [options] [source] [target] downloads environment variables from next-config-vars and uploads them to the current app
provision [app] provisions a new instance of an application server
verify [options] internally calls origami-build-tools verify with some Next specific configuration (use only for APPLICATIONS. Front End components should continue to use origami-build-tools verify)
nightwatch [options] [test] runs nightwatch with some sensible defaults
deploy-hashed-assets deploys hashed asset files to S3 (if AWS keys set correctly)
build [options] build javascript and css
destroy [app] deletes the app from heroku
purge [options] [url] purges the given url from the Fastly cache. Requires a FASTLY_KEY environment variable set to your fastly api key
deploy-vcl [options] [folder] Deploys VCL in [folder] to the specified fastly service. Requires FASTLY_KEY env var
deploy-static [options] <source> [destination] Deploys static <source> to [destination] on S3 (where [destination] is a full S3 URL). Requires AWS_ACCESS and AWS_SECRET env vars
*
deploy [app] runs haikro deployment scripts with sensible defaults for Next projects
configure [options] [source] [target] downloads environment variables from next-config-vars and uploads them to the current app
provision [app] provisions a new instance of an application server
verify [options] internally calls origami-build-tools verify with some Next specific configuration (use only for APPLICATIONS. Front End components should continue to use origami-build-tools verify)
nightwatch [options] [test] runs nightwatch with some sensible defaults
deploy-hashed-assets deploys hashed asset files to S3 (if AWS keys set correctly)
build [options] build javascript and css
destroy [app] deletes the app from heroku
purge [options] [url] purges the given url from the Fastly cache. Requires a FASTLY_KEY environment variable set to your fastly api key
deploy-vcl [options] [folder] Deploys VCL in [folder] to the specified fastly service. Requires FASTLY_KEY env var
deploy-static [options] <source> [otherSources...] Deploys static <source> to [destination] on S3 (where [destination] is a full S3 URL). Requires AWS_ACCESS and AWS_SECRET env vars
*

Options:

Expand Down
15 changes: 15 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
'use strict';

module.exports = {
build: require('./tasks/build'),
configure: require('./tasks/configure'),
deployHashedAssets: require('./tasks/deploy-hashed-assets'),
deployStatic: require('./tasks/deploy-static'),
deployVcl: require('./tasks/deploy-vcl'),
deploy: require('./tasks/deploy'),
destroy: require('./tasks/destroy'),
nightwatch: require('./tasks/nightwatch'),
provision: require('./tasks/provision'),
purge: require('./tasks/purge'),
verify: require('./tasks/verify')
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"next-build-tools": "./bin/next-build-tools.js",
"nbt": "./bin/next-build-tools.js"
},
"main": "main.js",
"dependencies": {
"aws-sdk": "^2.1.19",
"commander": "^2.6.0",
Expand Down

0 comments on commit 8b24148

Please sign in to comment.