Skip to content

remoteoss/swoosh_gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swoosh Gallery

Preview and display your Swoosh mailers to everyone.

Installation

If available in Hex, the package can be installed by adding swoosh_gallery to your list of dependencies in mix.exs:

def deps do
  [
    {:swoosh_gallery, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/swoosh_gallery.

Sample application

You can see Swoosh.Gallery in action with the Phoenix app included on ./sample:

  1. Run mix do deps.get, phx.server
  2. Go to http://localhost:4000/dev/emails

Static gallery

You can also generate static HTML files for you Gallery. This is useful when you want to expose the gallery without the need of a server.

mix swoosh.gallery.html --gallery Sample.Gallery --path="./_build/gallery"

open _build/gallery/index.html_

Contributing

  1. Download the project.
  2. Run mix do deps.get, tailwind.install
  3. Make some changes.
  4. If you need add new tailwind styles, run mix tailwind default.

About

Preview and display your Swoosh mailers to everyone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages