Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

53 lines (29 loc) · 1.04 KB

EHC Poster Generator

What

This is to help make EHC's posters more consistent, it generates an SVG which has a graph for a poster to fit the size of a page.

Why

To make EHC posters more consistent across campus.

How to use

Generating Posters via API

Do a GET request that looks like this:

http://127.0.0.1:3000/?title=asd&location=JEC01234&time=1234&event_date=1234&takedown=1234&description=awesome+story+workshop&template=poster

Using the UI

Navigate to http://127.0.0.1:3000/.

How to Run

Using node.js

Prerequisites

This is a node.js project, so make sure you have node installed.

Installing

  1. npm install

Running

  1. npm start

Using docker

Prerequisites

uh, docker

Running

docker run --net host --rm -v $(pwd):/usr/src/app -it node bash -c "cd /usr/src/app && npm install && npm start"

TODOs

  1. Make more poster templates
  2. Make client side only so a server isn't needed (we could directly host from github).