So you want to get started with ronin development and contribution? Follow the steps below to ensure you have all the requirements for your system setup.
- Docker Compose
- Yarn or NPM
For Mac or Linux systems, docker can be installed with minimal configuration. On Windows systems, docker has to be configured alongside of WSL in order to make use of shared drives/directories.
Follow the instructions below to install docker for your specific system.
Install WSL(if already installed skip to Installing Docker Desktop on Windows)
Instructions are from the microsoft wsl docs which can be found here.
- Open powershell as administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux- Restart your computer if prompted.
- Install the distro of your choice from the microsoft store:
Here is a list of the tested distros and their support level.
| Distro | Support |
|---|---|
| Ubuntu 18.04 | Supported |
- Download and install Docker Desktop for Windows.
Follow the instructions found here.
Download and install Yarn for Windows.
Since the ronin-cli is a command line tool, you must first unlink the production build and link the development repo.
- Ensure that ronin-cli is uninstalled globally:
npm uninstall -g ronin-clior
yarn global remove ronin-cli- Fork the ronin-cli repo to your account. And then clone to the desired location:
git clone https://github.com/Squishy123/ronin-cli.git- Navigate into the cloned directory and install project dependencies:
yarn - In the cloned directory, link ronin-cli as a system variable. Run:
yarn linkgit rebase -i origin/develop