hexo-stripepay-deployer-heroku

0.0.3 • Public • Published

hexo-stripepay-deployer-heroku

(modified Fork of hexo-deployer-heroku Upstream)

Build Status NPM version Coverage Status Build status

Heroku deployer plugin for Hexo.

Installation

$ npm install hexo-stripepay-deployer-heroku --save

Options

You can configure this plugin in _config.yml.

# You can use this: 
deploy:
  type: heroku
  repo: <repository url>
  message: [message]
  • repo: Repository URL
  • message: Commit message. The default commit message is Site updated: {{ now('YYYY-MM-DD HH:mm:ss') }}.

Reset

Remove .deploy_heroku folder.

$ rm -rf .deploy_heroku

Stripe payment integration

pay.php is added in .deploy_heroku target for credit card processing in the heroku nginx PHP container in which hexo-generated static html/css/js assets reside. Also, a simple custom nginx.conf with heroku Procfile mod is added so as to redirect all site traffic to SSL/HTTPS. This is configured to work with Heroku ACM (Automatic Certificate Management). Simply substitute heroku-stripepay-deployer-heroku for the original hexo-deployer-heroku Hexo Plugin, and point a Stripe Checkout form action in your Hexo content to /pay.php/ so as to enable your hexo -powered site with eCommerce payment processing via Stripe!

License

MIT

Package Sidebar

Install

npm i hexo-stripepay-deployer-heroku

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

8.12 kB

Total Files

10

Last publish

Collaborators

  • humbl3