Demo originally created for talk given by Ryland Goldstein at Serverless conf 2018 in San Francisco.
-
Replace <BINARIS_ACCOUNT_NUMBER> in
dist/index.html
with your account number. -
Export
BINARIS_ACCOUNT_NUMBER
to your environment -
Run the following command
export FRACTAL_ENDPOINT=https://run-sandbox.binaris.com/v2/run/${BINARIS_ACCOUNT_NUMBER}/public_fractal
-
Run
npm install
-
Run
bn deploy public_fractal
-
Run
npm run build
-
Run
bn deploy public_servePage
-
Navigate to the generated Binaris function URL for
servePage
in your browser
For even faster generation consider upgrading to the Binaris paid tier.