Skip to content

mcambal/mosaico-backend2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

herokubtn

screencast

Mosaico backend

Ready to go backend for Mosaico editor version 0.17.4

Main features are:

  • upload templates and images for Mosaico editor
  • persist mailings into DB
  • an admin manage users/groups
  • download ZIP archives of mailings
  • sending mailings by email for testing purpose

Quick start

See the screencast https://youtu.be/sLzZq3cXDi0

INSTALL

Heroku uses 2 environment config vars that will take precedence over our defaults: heroku-config-vars

about heroku's stack version

This application needs the cedar-14 stack due to some limitations while running nightmare.js more informations on nightmare-heroku

ON ANOTHER SERVER

Pre-requisites

  • Node.js >=8.11.4
  • PostgreSQL >=9.6 (postgresapp on a mac)
  • Redis (brew install redis on mac redis-server to start)
  • SMTP server (like mailcatcher: brew install ruby – restart terminal – gem install mailcatcher then mailcatcher)

NB: A compiled version of sharp — which is used to resize images and declared as a dependency — should be fetched automatically by npm for your system environment. In case of troubles see sharp installation instructions.

npm install
npm run dev

Then go to: https://localhost:3000

Configuration

Mosaico backend has a decent localhost-first default configuration.

We use rc for managing the configuration. See rc documentation for learning how you can override the default configuration

An easy way to start is by a making a copy of .backendrc-example to a .backendrc file and update your configuration here

About

Ready to go backend for Mosaico editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 42.4%
  • HTML 41.2%
  • Less 10.2%
  • Pug 4.4%
  • Stylus 1.5%
  • Shell 0.2%
  • Other 0.1%