Skip to content
master
Go to file
Code
This branch is 204 commits ahead, 154 commits behind voidlabs:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
bin
 
 
doc
 
 
res
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

ON HEROKU

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: http://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