Skip to content

Contributing

Setup

Requirements

To confirm these system dependencies are configured correctly:

$ make doctor

Installation

Install project dependencies into a virtual environment:

$ make install

Local Development

To start the API server:

$ make run

Adding a Template

To add a new meme template:

  1. Visit /images/<my_new_template_key>
  2. Add a default.png (or JPG) background image in templates directory
  3. Update config.yml in the templates directory
  4. Refresh /images/<my_new_template_key> to see the sample meme

Continuous Integration

Manual

Run the tests:

$ make test

Run static analysis:

$ make check

Automatic

Keep all of the above tasks running on change:

$ make watch