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.

meme's People

Contributors

achavez avatar aworkinglibrary avatar cjwinchester avatar critmcdonald avatar dankeemahill avatar dannyrich avatar gmac avatar ivarvong avatar jbenton avatar mattmontgomery avatar smpeters avatar yurivictor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

meme's Issues

Memeless crop?

From Eric Webb in response to a suggestion NOT to use the meme generator for Facebook thumbnails:

The resizing aspect of it is on-point! Which is why people use it, I think. But the logo/photo credit are unnecessary for a FB thumbnail, and I think it looks busy/junky and distracts from the rest of the post. So! If the meme generator could be used for its resizing capabilities and you could turn off the logo bug, that’d be neat. JStone sez 470 x 246 is the right size for a custom FB thumbnail.

Hookem logo updates

Per Jackie Stone: Apparently when we use the logo it’s always supposed to be the one with “from Austin American-Statesman” underneath it b/c of UT.

White version here, (though you can't see it.)

hookem_white

and orange:

hookem_orange

We should also remove the Hookem+ logos.

Compass is incompatible with Sass?

I get this error whenever I use the grunt command:

Running "clean:css" (clean) task
>> 2 paths cleaned.

Running "clean:js" (clean) task
>> 2 paths cleaned.

Running "sass:dist" (sass) task
ERROR: Cannot load compass.
Warning: Exited with error code 1 Use --force to continue.

Aborted due to warnings.

fork for Cap10k

Need to make a copy of this for cap10k to make facebook profile photos.

Would like to have this toward the beginning of 2017.

The idea is that Todd Olsen could take this bundled code and put it on Rackspace with the WP instance of cap10k.com.

cap10k-40th-socialbadge-500x500-v1-flag
cap10k-40th-socialbadge-500x500-v1
cap10k-40th-socialbadge-500x500-v2-flag
cap10k-40th-socialbadge-500x500-v2

Austin Answered

Amanda wants to add a new site and logo for Austin Answered. She'll provide more information soon.

Grunt not working.

Grunt showing error.

Running "watch" task
Waiting...
Waiting forever...
Started connect web server on http://localhost:8000
(node:1094) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess. (/root/meme/node_modules/opn/index.js:83:13)
at Object.onceWrapper (events.js:286:20)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:606:12)

(node:1094) UnhandledPromiseRejectionWarning: Unhandled promise rejection. T                  his error originated either by throwing inside of an async function without a ca                  tch block, or by rejecting a promise which was not handled with .catch(). (rejec                  tion id: 1)
(node:1094) [DEP0018] DeprecationWarning: Unhandled promise rejections are d                  eprecated. In the future, promise rejections that are not handled will terminate                   the Node.js process with a non-zero exit code.

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.