The Statesman's meme generator is a lightly-modified fork of the Vox meme generator. It has been modified to work without Ruby (except Compass, which is required to run the build process).
Assets are now built using Grunt, which transpiles the SASS files and concatenates/minifies the JavaScript. We modified the app this way to make it more easily deployable on our internal infrastructure.
To assist in development, the default Grunt task also:
http://localhost:8000/
grunt-contrib-watch
to watch index.html
and the .js files in /source
Statesman images, fonts, etc. are currently in the app so you'll need to follow the steps below to customize the app for your use:
source/images/
.source/javascripts/settings.js
.source/stylesheets/_fonts.scss
.npm install
gem install compass
grunt
A local server should open at http://localhost:8000/
where you can use the tool locally.
We run the project through GitHub pages to allow access to the newsroom. We deploy this with git push origin master:gh-pages
.
As of May 2016, we have been merging changes only into the statesman master branch, and have not been pulling any Vox changes in. So if you work on a feature branch, be careful with pull requests. We merge using master as base, not Vox. - @critmcdonald
See the original repo at https://github.com/voxmedia/meme for additional info.