2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +00:00
nativefier/docs/development.md

53 lines
661 B
Markdown
Raw Normal View History

2016-03-13 07:27:32 +00:00
# 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
```
Don't forget to compile source files:
2016-03-13 07:27:32 +00:00
```bash
$ npm run build
2016-03-13 07:27:32 +00:00
```
You can set up symlinks so that you can run `$ nativefier` for your local changes
2016-03-13 07:27:32 +00:00
```bash
$ npm link
2016-03-13 07:27:32 +00:00
```
After doing so, you can then run Nativefier with your test parameters
2016-03-13 07:27:32 +00:00
```bash
$ nativefier <...>
2016-03-13 07:27:32 +00:00
```
Or you can automatically watch the files for changes with:
```bash
$ npm run watch
```
## Tests
```bash
$ npm test
```