Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update package config, node-sass version which is stable in Windows environment as well, update readme file to speedup application usage. #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<p align="center"><img src="https://user-images.githubusercontent.com/1030830/35209029-56cb3678-ff19-11e7-9e2c-d7dd0e05fd87.png" /></p>
<p align="center"><img src="https://user-images.githubusercontent.com/1030830/35209029-56cb3678-ff19-11e7-9e2c-d7dd0e05fd87.png" alt=""/></p>

# 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`
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down