AstonJ / phoenix_site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:CSS 75.5%Language:HTML 23.0%Language:Elixir 1.5%Language:JavaScript 0.0%