Have a look at Install Discourse on Windows for development for details about setting up a dev environment on Windows. You will need to upgrade from Windows 8. An alternative would be to install Linux on your computer and then follow Install Discourse on Ubuntu or Debian for Development.