Giter Club home page Giter Club logo

postally's Introduction

πŸ“¨ Postally

AiO email creator assitant

Prerequisites

Your project need NodeJS 8+.

Postally are using the following libraries to offer an full email development environment :

To help your Email creation process, you can take a look at :

Installation

First, install postally globally

$ npm install -g postally
# or
$ yarn global add postally

Usage

Init your project

To create a new postally project, you can choose to create a new directory (f.ex. new_project) or bootstrap the project inside the current one.

$ postally init new_project
$ cd new_project
# or
$ postally init

This will produce the following file structure inside your project directory :

.
β”œβ”€β”€ build            πŸ‘ˆ your project's build (to use with MailChimp or CM)
β”œβ”€β”€ data.json        πŸ‘ˆ the json data to inject in the markup
β”œβ”€β”€ images           πŸ‘ˆ your image folder
β”œβ”€β”€ index.html       πŸ‘ˆ the inky/twig newsletter template
β”œβ”€β”€ node_modules     πŸ‘ˆ your only dependency
β”‚    └── foundation-emails
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json     πŸ‘ˆ npm settings
β”œβ”€β”€ styles.scss      πŸ‘ˆ your custom styles
└── variables.scss   πŸ‘ˆ your custom and overrided Foundation for Emails variables

Start the development environment

In your project directory, you can use the following command to start a web server into your default browser. It will automaticaly reload the rendered page and remake the build each time you will save your working files.

$ postally start

Create a once build

Almost the same as the start command, it only creates a once build.

$ postally build

postally's People

Contributors

yago avatar

Stargazers

Guillaume Berry avatar Gilles Doge avatar Romain de Wolff avatar Marc Friederich avatar  avatar

Watchers

James Cloos avatar

postally's Issues

CSS dans le head

En plus d'inliner le CSS, est-ce possible que ce que contient le fichier styles.sass soit mis en CSS dans le head.

Parce qu'avec Campaign Monitor ou Mailchimp, si on laisse les gens Γ©diter des liens ou des images (ou ajouter), ils n'auront pas les balises inlines, du coup le style n'est pas appliquer.

Si c'est pas clair tu peux venir voir @zufrieden ou moi :)

Merci

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.