RB on WSL Mockup.md
1

Review Board on WSL

2
3

Before we set up the dev environment you need to enable and install a linux distro 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.

4
5

System Dependencies

6
7

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

8 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

9
10

Python

11
12

Run pip install wheel after setting up PyEnv and Python.

13
14

Develop in Windows

15
16

Before downloading reviewboard you have two options:

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

19
20

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

21
22
Visual Studio
23
24

Microsoft has already written a nice guide for this.

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