phoenixframework/phoenix_site

Name: phoenix_site

Owner: phoenixframework

Description: null

Created: 2017-07-27 21:10:44.0

Updated: 2018-04-28 05:58:49.0

Pushed: 2018-04-27 14:56:14.0

Homepage: null

Size: 1827

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PhoenixSite

Phoenix Guides landing page publisher

Setup
  1. Install awscli
ew install awscli

see the awscli docs for other installation options.

  1. Configure your awscli credentials:
s configure
  1. Fetch mix deps and test local build
x deps.get
x 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.