Development

macOS

Install and start Docker, check docker-ce-desktop-mac.

▶️ Create Datafolders

mkdir -p ~/datadrive/ed/mysql && mkdir -p ~/datadrive/ed/redis

▶️ Clone the repo

git clone https://github.com/Email-Dashboard/Email-Dashboard.git

▶️ Update mac username in docker-compose-dev.yml in line 7 and line 27

/Users/MacUserName/datadrive/ed/mysql:/var/lib/mysql # update MacUserName with yours

▶️ Start

docker-compose -f docker-compose-dev.yml build
docker-compose -f docker-compose-dev.yml up

▶️ Dashboard url: http://localhost:3000
▶️ Make API requests to http://localhost:8080

Debian

Install and start Docker:

wget -qO- https://get.docker.com/ | sh

▶️ Execute this line to allow docker to execute without being root

sudo usermod -aG docker ${USER} # Logout, then login again. Permissions should be applied.

▶️ Create Datafolders

mkdir -p /datadrive/data/mysql && mkdir -p /datadrive/data/redis

▶️ Clone the repo

git clone https://github.com/Email-Dashboard/Email-Dashboard.git

▶️ Update line 7 and line 27 in docker-compose-dev.yml to:

-'/datadrive/data/mysql:/var/lib/mysql'
...
- '/datadrive/data/redis:/data'

▶️ Start

docker-compose -f docker-compose-dev.yml build
docker-compose -f docker-compose-dev.yml up

▶️ Dashboard url: http://localhost:3000
▶️ Make API requests to http://localhost:8080