diff --git a/README.md b/README.md index bfb83ff..8f8441b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,20 @@ -

+

# Trello to Projects This is a small app built on top of [next.js](https://github.com/zeit/next.js/) that will help you migrate your Trello board into a GitHub project. Currently it only migrates a trello board to a github organization project. +## Build and Run on Windows +First You need to install several packages and applications: +1) Python 2.7 (version 3.x is not supported by node-gyp [link](https://github.com/nodejs/node-gyp/issues/1977)), you may download the latest version from [here](https://www.python.org/downloads/windows/) +2) install node-gyp `npm install --global node-gyp@latest` +3) run `npm install --global windows-build-tools` to let your node-gyp execute correct +4) run `npm run dev:windows` + +**If you face issue related to `can't find python 2` you have to set up default path to your python 2.7:** +1) `npm config set python "c:\Python27\python.exe"` +2) delete node_modules folder and try to install again + ## Running locally `yarn` diff --git a/package.json b/package.json index d8580c1..2122575 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "precommit": "lint-staged", "dev": "NODE_ENV=development nodemon --inspect=4343 -w server server/index.js", + "dev:windows": "nodemon --inspect=4343 -w server server/index.js", "build": "next build", "start": "npm run build && NODE_ENV=production node server/index.js", "test": "echo \"Error: no test specified\" && exit 1" @@ -49,7 +50,7 @@ "js-cookie": "2.2.0", "next": "4.2.3", "next-redux-wrapper": "1.3.5", - "node-sass": "4.7.2", + "node-sass": "^4.11.0", "node-trello": "1.3.0", "postcss-easy-import": "3.0.0", "postcss-loader": "2.0.10",