PhoenixSite

Phoenix Guides landing page publisher

Setup

  1. Install awscli
$ brew install awscli

see the awscli docs for other installation options.

  1. Configure your awscli credentials:
$ aws configure
  1. Fetch mix deps and test local build
$ mix deps.get
$ mix obelisk build

Your built static files will be located in build/

Publishing Guides to S3

Ensure that purifycss is installed

npm install -g purifycss

To publish all content to S3, simply run mix guides.publish

Blog/News naming convention

Blog posts are normal obelisk posts, but are specially named with a "blog--" filename prefix. Pages must have a .markdown extension. The published pages will be uploaded to S3 with the file basename.