How to setup XBlock Development environment on the local machine

Hi,

I started to find the possibility of implementing XBlock as plugin for Tutor OpenEdx. I successfully test installing the sample XBlock-poll by following the guideline from [Tutor Doc] (Configuration and customisation — Tutor documentation).

When I tried to setup development environment for XBlock on my local machine, I got problems.

  1. There are many documents and I am confused, which one I should follow. (OpenEdx Doc, GitHub Doc, and Appsember doc)

  2. I firstly follow the instruction from OpenEdx Doc. After cloning XBlock-SDK from git. I change instruction make install to be pip install -qr requirements\dev.txt. When I try to create my custom xblock for the first time with this command (xblock-env) $ xblock-sdk/bin/workbench-make-xblock. The system cannot recognize xblock-sdk.
    And I try to pip install xblock and pip install xblock-sdk . (both outside the virtual environment and inside the virtual environment), the system cannot recognize the command xblock-sdk.

  3. Is it necessary to install pip install xblock and pip install xblock-sdk ?

  4. I am window guy, and i found that some of the commands are Linux. Is there any concrete set of instructions to setup XBlock development environment?

Thanks a lot in advance.

Just to update that I follow the steps provided by Braden https://discuss.openedx.org/t/xblock-sdk-setting-entry-points-for-virtenv/3590/3, and it works.

Here are steps I modify for my window machine:

C:\git clone git@github.com:edx/xblock-sdk.git
C:\cd xblock-sdk

C:\xblock-sdk>python -m venv venv
(venv) C:\xblock-sdk>.\venv\Scripts\activate

pip install -qr requirements\dev.txt
pip install -qr requirements\local.txt
python manage.py migrate
python manage.py runserver