The MailBeaker client uses a single-page application design and requires some tools to assist in dependency management, compilation, and minification. This README will guide you through getting the development environment setup.
If you do not already have the following package managers and task runners installed from developing other projects, install them now.
- nodejs (
brew install nodejs) - gulp (
npm install -g gulp)
Whenever you are working on the client, you should be in the webapp/client directory.
cd ~/workspace/MailBeaker/webapp/client
npm install
Building the application is simple:
gulp
That's it!
In order to avoid having to run gulp every time you make a change, we utilize
a gulp-watch that will rebuild the app whenever a file changes. To use this, run:
gulp dev