Phoenix Guides landing page publisher
- Install
awscli
$ brew install awscli
see the awscli docs for other installation options.
- Configure your awscli credentials:
$ aws configure
- Fetch mix deps and test local build
$ mix deps.get
$ mix obelisk build
Your built static files will be located in build/
Ensure that purifycss is installed
npm install -g purifycss
To publish all content to S3, simply run mix guides.publish
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.