To clone and run this repository Unclutter requires following major dependencies to be installed on your computer.
- Git a freely distributed version control system.
- Node.js an open-source, cross-platform runtime environment for developing server-side Web applications.
- npm the default package manager for the JavaScript runtime environment Node.js.
- bower A package manager for the web.
In your command line:
# Clone this repository
git clone https://github.com/vandeurenglenn/unclutter
# Go into the repository
cd unclutter
# Install dependencies and run the app
npm install && npm start
# Build the app (checkout dist for builds)
npm run dist
We use 2 package.json file (checkout electron-boilerplate for more info).
package.json
- Points to the app's devDependencies & scripts (like npm start).app/package.json
- Points to the app's main file and lists its details and dependencies.app/main.js
- Starts the app and creates a browser window to render HTML. This is the app's main process.app/index.html
- A web page to render. This is the app's renderer process (for now Unclutter is an single page app).app/scripts/monitor.js
- The one resposible for starting and handling the watcher
Learn more about Unclutter and its API in the documentation (coming soon, working on the API to be more stable & a less resources sucking monster :D).