-
Notifications
You must be signed in to change notification settings - Fork 8
PSake & Serverless Setup Guide
Sam Martin edited this page Mar 13, 2017
·
3 revisions
- A Windows machine (Sorry, this is running PowerShell!)
- PowerShell > 5.0
- Node.js Install it here
- AWS Powershell Cmdlets
-
PowerShell-Yaml
Install-Module -Name powershell-yaml -
Pester (comes with PS 5.0 or
Install-Module -Name pester -
PSake
Install-Module -Name psake
- Clone repository
- Ensure you have credentials set for both the AWS PowerShell Cmdlets and Serverless
- Edit
serverless-ephemera\config.ymlto reflect the bucket names you want (if you're hosting your Ephemera website under a custom domain you'll want this reflected in thepublic_bucket_nameas per this document - Open a PowerShell console and CD to the root of the repository.
Invoke-PSake -parameters @{stage='prod'}- Wait!
- Follow steps 1-4 from the deployment steps
Invoke-PSake -taskList destroy