Giter Club home page Giter Club logo

urkom / lepatron.email Goto Github PK

View Code? Open in Web Editor NEW

This project forked from badsender-com/lepatron.email

0.0 0.0 0.0 6.54 MB

LePatron is an opensource email builder allowing to industrialize your email template production. Build tailor made email templates and make them available to your non-technical users.

Home Page: https://www.lepatron.email

License: GNU General Public License v3.0

Shell 0.01% JavaScript 46.57% CSS 0.06% HTML 29.58% Vue 16.01% Pug 1.02% Less 6.70% SCSS 0.06% Procfile 0.01%

lepatron.email's Introduction


Logo

LePatron.email

Open source email builder

Report Bug ยท Request Feature

About The Project

LePatron is an email builder allowing to industrialize your email template production. Build tailor made email templates and make them available to your non-technical users.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

You will need the following tools to be able to run the project locally:

  • Node
  • Yarn
  • Docker ๐Ÿ’ก Make sure you can run docker-compose in you terminal

Installation

  1. Clone the repo

    git clone https://github.com/Badsender-com/LePatron.email.git
  2. Install NPM packages

    yarn
    yarn build
  3. Run the local database

    yarn docker:up

    (You will be able to stop the docker compose with yarn docker:down)

  4. Run the application

    yarn dev

    The application is available on localhost:3000

    Login with

    • Email: admin
    • Password: admin

    A catch all mailbox is available on localhost:1080

Database access

  • You need MongoDB on your computer. If you haven't, you can install MongoDB Compass
  • Install the version you need
  • In a shell terminal, launch the following commands:
docker ps # Check if your database docker container is launched
docker exec -it lepatron_mongo_container bash # Run command prompt on your docker container
mongo # To see the mongo connection name
  • The connection name looks something like mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
  • Remove all the queries parameters to have : mongodb://127.0.0.1:27017/
  • Paste it in MongoDB Compass UI
  • You have access to your database

Documentation generation

Run application documentation

yarn docs:dev

Build application documentation

yarn docs:dev:build

Run API documentation

yarn docs:api

Build API documentation

yarn docs:api:build

Tests

When you open a feature / fix PR, make sure to include tests that covers this feature.

Units tests are written using the jest testing framework.

yarn test # run tests in watch mode, usefull when developing
yarn test-ci # run all tests, no watch. Mainly used in the CI

Deployment

Instructions on how to deploy on Heroku and CleverCloud are provided in the readme file.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feat/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feat/AmazingFeature)
  5. Open a Pull Request

Troubleshooting

If you encounter this error during documentation generation :

(node:24453) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, scandir '.../.mongodb/diagnostic.data'

Simply give access to .mongodb folder to your user :

chown $(whoami):$(whoami) -R ./.mongodb

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Contact

Project Link: https://lepatron.email/

lepatron.email's People

Contributors

medamineziraoui avatar deelanm avatar omar-bear avatar floriangille avatar gregoire-bearstudio avatar decampsrenan avatar the2ne avatar jessy-baer avatar ntorionbearstudio avatar ivan-dalmet avatar yassine-jradbs avatar qlereboursbs avatar zouhairbear avatar fabienessid avatar frolipon avatar dependabot[bot] avatar

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.