Skip to content

Commit 9c9147a

Browse files
Merge pull request #106 from ekonstantinidis/update-readme
Update readme, Instructions for development
2 parents 856311f + b2d3b2e commit 9c9147a

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414

1515
![Gitify](images/press.png)
1616

17+
1718
### Download
18-
You can download Gitify from the [releases](https://github.com/ekonstantinidis/gitify/releases) page. Currently only supports OS X.
19+
You can download Gitify for **free** from either the website [www.gitify.io](http://www.gitify.io/) or from the GitHub repository [releases](https://github.com/ekonstantinidis/gitify/releases) page. Currently only supports OS X.
20+
1921

2022
### Prerequisites
2123

@@ -31,6 +33,12 @@ You can download Gitify from the [releases](https://github.com/ekonstantinidis/g
3133

3234

3335
### Development
36+
First you will need to set the testing `client_id` and `client_secret_key` in the `src/js/components/login.js`. You can use the development app credentials(use at your own discretion):
37+
38+
Client Id: 3fef4433a29c6ad8f22c
39+
Client Secret Key: 9670de733096c15322183ff17ed0fc8704050379
40+
41+
3442
To watch for changes in the `src` directory:
3543

3644
npm run watch
@@ -43,13 +51,13 @@ To run the actual **electron app**:
4351
### Distribution
4452
To prepare the app for distribution run:
4553

46-
npm run dist
54+
npm run package
4755

48-
Currently supports only OS X.
56+
To publish a new version, you also need to codesign the app running `npm run codesign`. Currently supports only OS X.
4957

5058

5159
### Tests
52-
There are 3 types of tests: `jest`, `jscs` and `jsxhint`.
60+
There are 2 types of tests: `jest` and `eslint`.
5361
To run the tests:
5462

5563
npm test
@@ -64,5 +72,6 @@ To run the tests:
6472
5. Submit a pull request
6573
6. Make sure tests are passing
6674

75+
6776
### License
6877
Gitify is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"watch-js": "watchify -t babelify src/js/app.js -o build/js/app.js -v",
1010
"watch": "npm run build && grunt build && npm run watch-js & grunt watch",
1111
"start": "electron .",
12-
"dist": "electron-packager . Gitify --overwrite --platform=darwin --arch=x64 --version=0.32.3 --asar=true --icon=images/app-icon.icns --prune --ignore='src' --ignore='coverage' && bash scripts/codesign.bash",
12+
"package": "electron-packager . Gitify --overwrite --platform=darwin --arch=x64 --version=0.32.3 --asar=true --icon=images/app-icon.icns --prune --ignore='src' --ignore='coverage'",
13+
"codesign": "bash scripts/codesign.bash",
14+
"dist": "npm run package && npm run codesign",
1315
"lint": "eslint 'src/js/' 'src/js/app.js' 'main.js'",
1416
"test": "npm run lint && jest"
1517
},

0 commit comments

Comments
 (0)