# How to setup XBlock Development environment on the local machine

**URL:** https://discuss.openedx.org/t/how-to-setup-xblock-development-environment-on-the-local-machine/13857
**Category:** Development
**Tags:** how-to
**Created:** [September 5, 2024, 11:14am UTC](https://discuss.openedx.org/t/how-to-setup-xblock-development-environment-on-the-local-machine/13857 "2024-09-05T11:14:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![N\_V](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/n_v/32/7090_2.png) [@N\_V](https://discuss.openedx.org/u/N_V)
#### Post date: [September 6, 2024, 5:50am UTC](https://discuss.openedx.org/t/how-to-setup-xblock-development-environment-on-the-local-machine/13857/2 "2024-09-06T05:50:58Z")

</div>

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](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:

```auto
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

```

---

_[View the full topic](https://discuss.openedx.org/t/how-to-setup-xblock-development-environment-on-the-local-machine/13857)._
