RB on WSL Mockup.md
1

# Review Board on WSL

2 Before we set up the development environment, you need to enable and install a linux distrobution for Windows. You can find a complete guide for this here. Below are additions to each section that should be made for better doc support for WSL.

3
4

System Dependencies

5
6

WSL installs very barebones versions of Linux so you need to download and install some packages first. Run the following:

7 sudo apt-get install -y gcc make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git libmysqlclient-dev

8
9

Python

10
11

Run pip install wheel after setting up PyEnv and Python.

12
13

Develop in Windows

14
15

Before downloading reviewboard you have two options:

16 1. Develop in your Linux distro using the terminal.
17 2. Use Visual Studio or PyCharm to remote develop

18
19

If you chose option one skip this and continue on, otherwise follow the steps below.

20
21
Visual Studio Code
22
23

Microsoft has already written a nice guide for this.

24
25
PyCharm
26
27
  1. Clone Review Board to a directory in windows
    git clone https://github.com/reviewboard/reviewboard.git
28
  1. Open a new project in PyCharm.
29
  1. Follow this guide to enable the remote interpreter.