npm install --save-dev ftps
- Add
deploy.js
to theme/plugin root - Add
deploy.config.js
to theme/plugin root - Modify config.
- Set up Circle CI with
SFTP_HOST SFTP_PASS SFTP_USER
environmental variables
source: http://www.markbrilman.nl/2011/08/howto-convert-a-pfx-to-a-seperate-key-crt-file/ | |
`openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]` | |
What this command does is extract the private key from the .pfx file. Once entered you need to type in the importpassword of the .pfx file. This is the password that you used to protect your keypair when you created your .pfx file. If you cannot remember it anymore you can just throw your .pfx file away, cause you won’t be able to import it again, anywhere!. Once you entered the import password OpenSSL requests you to type in another password, twice!. This new password will protect your .key file. | |
Now let’s extract the certificate: | |
`openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]` |
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
var FtpDeploy = require('ftp-deploy'); | |
var ftpDeploy = new FtpDeploy(); | |
var config = { | |
username: process.env.FTPUSERNAME, | |
password: process.env.FTPPASS, | |
host: process.env.FTPHOST, | |
port: 21, | |
localRoot: __dirname + "/../dist/", | |
remoteRoot: "/", |
sudo apt-get update | |
sudo apt-get install nginx | |
# default website |
This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.
It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.