- macOS >= 12.0.*
- Node 16.18.1
- npm 8.19.2
- Docker Desktop
Run the following in your console if you don't have the necessary dependencies:
# make sure xcode is installed
xcode-select --install
# create the default zsh profile dotfile if it doesn't exist
[ ! -f ~/.zshrc ] && touch ~/.zshrc
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --formula jq
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
# install the needed version of node
source ~/.zshrc
nvm install 16.18.1
nvm alias default 16.18.1
# smoke test to make sure we have the right versions installed
node -v
npm -v
mkdir -p ~/repositories
cd ~/repositories
git clone https://github.com/ProcessMaker/processmaker
cd processmaker
# running this will give you the value to set
# as "PM_APP_SOURCE" in the .env file:
pwd
mkdir -p ~/packages/composer/processmaker
cd ~/packages/composer/processmaker
# running this will give you the value to set as
# "PM_COMPOSER_PACKAGES_SOURCE_PATH" in the .env file:
pwd
- Download Docker Desktop from their website and follow the installation instructions.
- Under
Settings > Resources > File Sharing
make sure your user directory is shared (it should look like /Users/{YOUR_USERNAME_HERE})
cp .env.build .env
docker compose up -d --build
[ TO DO ]