Email templates used in Open Dictionary.
Open Dictionary consists of a set of services that you use to serve dictionary entries in an open source manner. This project is heavily inspired by PokeAPI. PokeAPI is a service that provides a handful of data regarding Pokémon games. You can read more at their official website.
First off some requirements:
node&npm, required (link)yarn, highly recommended (link)Visual Studio Code, highly recommended (link)git, required if you want to contribute (link)- 'something to unzip zips', optional
Now that everything you need is clear enough, let's proceed on the setup...
You have two options:
-
Using git, clone the repository in you local machine:
git clone https://github.com/niktekusho/open-dictionary-emails
-
Downloading the source code from GitHub using the releases page.
If you have yarn installed:
yarn installotherwise using npm:
npm installThis command will build the ejs templates, sass stylesheets and the rest and bundle them together into an html file.
If you have yarn installed:
yarn buildotherwise using npm:
npm run buildThis command will open a browser window/tab pointing to a development server running on you local machine.
If you have yarn installed:
yarn watchotherwise using npm:
npm run watchIf you have yarn installed:
yarn cleanotherwise using npm:
npm run cleanopen-dictionary-emails
|_ src (source code)
|_ css (compiled from .scss or manually added)
|_ emails (.ejs files)
|_ images (all images)
|_ sass (.scss files)
|_ testing (.json files)
|_ .editorconfig
|_ LICENSE
|_ README.md (this document 👀)
|_ detect-json.js
|_ gulpfile.js
|_ package.json
|_ yarn.lock