Be sure that you have nodejs npm or nvm installed in your machine
- To check type in your terminal
node --version
nvm --version
Assuming that you chose nvm version (which is easy to install and maintain for difference version of nodejs)
in MacOS without the Brew
- Run the command in the terminal:
ps -p $$
then install
- Bash:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
- ZSH
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | zsh
- To install the latest node
nvm install node # "node" is an alias for the latest version
- Check if npm is installed
npm --version
If not, install the latest npm
nvm install-latest-npm
- In the terminal
git clone https://github.com/battlecheeze/prodemailcampaigngulp.git
then go to the folder where prodemailcampaigngulp is cloned
Then type
npm install
This might take a while because it will install it's dependencies
To run type in the terminal
gulp
Or
npm start
to build your production email
npm run build