To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
bash
$ git clone https://github.com/litongxin/Feeds.git $ cd Feeds
$ npm install && npm start
Learn more about Electron and its API in the documentation.
Use jest test framework for my feeds $gulp jest
$npm start or $gulp start
After running gulp start, you can use watch task to apply the changes ASAP
$gulp watch
$npm run startApp
=======
$npm run mockApi
After running npm run mockApi, make sure set var hostname = "localhost:4000"; in FeedRequestBuilder.js
Run below commands in iterm to install package $ npm install electron-packager --save-dev $ npm install electron-packager -g // use sudo if got permission issue
Run below command to build app $ electron-packager . Feeds --platform=darwin --arch=x64 --version=0.28.2 // Packaging app for platform darwin x64 using electron v0.28.2
// if the app already there, append "--overwrite=force" in the command line
- If the test didn't run successfully, upgrade to node 4 (run brew update first)