Building-and-Installing.md
May 18, 2019 · View on GitHub
Build prerequisites
You need to have following tools installed on your computer
In the next section, we explain how to install them correctly on each platform.
Unix/Linux
Debian based distributions (Debian / Ubuntu / Linux Mint / elementary OS)
In your terminal
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs build-essential git
Enterprise based distributions (Red Hat® / CentOS / CloudLinux / Fedora)
In your terminal
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
sudo yum install -y nodejs gcc-c++ make git
Windows
Git installing
- Open Git Downloads page
- Download the Windows Installer(.exe)
- Run the downloaded Git-v.exe Installer
Node.js and npm installing
- Open Node.js Downloads page
- Download the Windows Installer(.msi)
- Run the downloaded Node-v.msi Installer
Mac OS X
- Open Node.js Downloads page
- Download the macOS Installer(.pkg)
- Run the downloaded Node-v.pkg Installer
Getting the source
In your terminal
# Clone Deer's repository
git clone https://github.com/abahmed/Deer
Installing dependencies and running Deer
In your terminal
# Go into Deer's repository
cd Deer
# Install dependencies
npm install
# Run Deer
npm start
Debugging in VScode
{
"debug": {
"vscode": true, //To enable vscode debugging (in dev mode).
"chromeDevTools": false, //To open chrome dev tools (in dev mode).
"chromeDebugPort": 9222 //To set Chrome debug port(in dev mode).
}
}
Start debugger in VScode
