Giter Club home page Giter Club logo

meme's Introduction

Statesman meme generator

Built with Grunt

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:

  • launches a local server at http://localhost:8000/
  • starts grunt-contrib-watch to watch index.html and the .js files in /source
  • Livereload is enabled if you are running the browser extenstions.

screenshot

Deploying

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:

  1. Add appropriate images to source/images/.
  2. Edit the settings file at source/javascripts/settings.js.
  3. Add any fonts you'll need at source/stylesheets/_fonts.scss.
  4. npm install
  5. gem install compass
  6. Run 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.