# Review Board on WSL
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.
System Dependencies
WSL installs very barebones versions of Linux so you need to download and install some packages first. Run the following:
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
Python
Run pip install wheel
after setting up PyEnv and Python.
Develop in Windows
Before downloading reviewboard you have two options:
1. Develop in your Linux distro using the terminal.
2. Use Visual Studio or PyCharm to remote develop
If you chose option one skip t
RB on WSL Mockup.md | |
---|---|
1 | # Review Board on WSL |
2 | 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. |
3 | |
4 | System Dependencies |
5 | |
6 | WSL installs very bear bones 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 |
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 |
22 | |
23 | Microsoft has already written a nice guide for this. |
24 | |
25 | PyCharm |
26 | |
27 |
|
28 |
|
29 |
|
RB on WSL Mockup.md | |
---|---|
1 | # Review Board on WSL |
2 | 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](https://docs.microsoft.com/en-us/windows/wsl/install-win10). Below are additions to each section that should be made for better doc support for WSL. |
3 | |
4 | ### System Dependencies |
5 | WSL installs very bear bones versions of Linux so you need to download and install some packages first. Run the following: |
6 | `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` |
7 | |
8 | ### Python |
9 | Run `pip install wheel` after setting up PyEnv and Python. |
10 | |
11 | ### Develop in Windows |
12 | |
13 | Before downloading reviewboard you have two options: |
14 | 1. Develop in your Linux distro using the terminal. |
15 | 2. Use Visual Studio or PyCharm to remote develop |
16 | |
17 | If you chose option one skip this and continue on, otherwise follow the steps below. |
18 | |
19 | ##### Visual Studio |
20 | |
21 | Microsoft has already written a nice [guide](https://code.visualstudio.com/docs/remote/wsl) for this. |
22 | |
23 | ##### PyCharm |
24 | |
25 | 1. Clone Review Board to a directory in windows |
26 | `git clone https://github.com/reviewboard/reviewboard.git` |
27 | 2. Open a new project in PyCharm. |
28 | 3. Follow [this guide](https://www.jetbrains.com/help/pycharm/using-wsl-as-a-remote-interpreter.html) to enable the remote interpreter. |
29 | |
30 |