1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-07-04 08:50:50 +02:00
Nativefier/docs/development.md
2016-03-13 15:27:32 +08:00

53 lines
684 B
Markdown

# Development
## Environment Setup
First clone the project
```bash
$ git clone https://github.com/jiahaog/nativefier.git
$ cd nativefier
```
Install dependencies
```bash
# OSX and Linux
$ npm run dev-up
# Windows
$ npm install
$ cd app
$ npm install
```
You can set up symlinks so that you can run `$ nativefier` for your local changes
```bash
$ npm link
```
After doing so, you can then run Nativefier with your test parameters
```bash
$ nativefier <...>
```
Don't forget to compile source files (after making changes):
```bash
$ npm run build
```
Or you can automatically watch the files for changes with:
```bash
$ npm run watch
```
## Tests
```bash
$ npm test
```