Skip to content

A proposal for The Daily's email newsletter generator.

Notifications You must be signed in to change notification settings

bhushan-mohanraj/eng-proposal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Email Newsletter Generator Proposal

See https://github.com/TheStanfordDaily/email-newsletter-generator.

Architecture

  • MJML for email HTML (and the corresponding quirks)
    • A server or a process run by the Python package
  • Jinja for templating

Development

python -m black . # Format
python -m isort . --profile=black --sl # Sort imports

Usage

MJML should be installed via Node. The executable should be located at node_modules/.bin/mjml.

python -m venv venv
source venv/Scripts/activate # Git Bash on Windows
python -m pip install -r requirements.txt
python -m eng

TODO

  • Pin dependencies from some requirements.in.
  • Package with pyproject.toml if building a web server (not necessary).

About

A proposal for The Daily's email newsletter generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published