fastly-compute

1.0.1 • Public • Published

Fastly-Compute

fastly-compute is an assemblyscript project that is deployed to Fastly to use their Compute@Edge functionality.

Installation

  1. Need to install the Fastly command line
  1. Run fastly configure to make sure you have the token. Ask Dustin McCraw for non development tokens. In dev you can get the FASTLY_GATSBY_HOSTING_TOKEN from the dev-monolith/local.env
  • fastly configure

Deploy

  1. Build the assembly script files
  • fastly compute build
  1. Deploy the service
  • yarn fastly:deploy:dev
  • yarn fastly:deploy:staging
  • yarn fastly:deploy:prod

Developing

  1. Tail the logs to get any Console.log or exception handling
  • fastly logs tail

Fastly CLI

AssemblyScript

Fastly Compute@Edge used AssemblyScript

AssemblyScript Introduction

Readme

Keywords

none

Package Sidebar

Install

npm i fastly-compute

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • pntripathi9417