Thanks for contributing to SnappyMail Webmail!
- Fork the repo, do work in a feature branch.
- Issue a pull request.
Getting started
- Install PHP
- Install node.js -
https://nodejs.org/download/
- Install yarn -
https://yarnpkg.com/en/docs/install
- Install gulp -
npm install gulp -g
- Fork snappymail from https://github.com/the-djmaze/snappymail
- Clone snappymail -
git clone [email protected]:USERNAME/snappymail.git snappymail
cd snappymail
- Install all dependencies -
yarn install
- Run gulp -
gulp
Debugging JavaScript
- Edit data/_data_/_default_/configs/application.ini
- Set 'use_app_debug_js' (and optionally 'use_app_debug_css') to 'On'
Editing HTML Template Files
- Edit data/_data_/_default_/configs/application.ini
- Set
[cache] system_data
to Off
Release
- Install gzip
- Install brotli
- php release.php
Options:
php release.php --aur
= Build Arch Linux packagephp release.php --docker
= Build Docker instancephp release.php --plugins
= Build plugins
If you have any questions, open an issue or email [email protected].