insomnia/README.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

# Insomnia REST Client [![Build Status](https://travis-ci.com/getinsomnia/app.svg?branch=master)](https://travis-ci.com/getinsomnia/app) [![Build status](https://ci.appveyor.com/api/projects/status/7b5a82uxbidpnkoa/branch/master?svg=true)](https://ci.appveyor.com/project/gschier/insomnia/branch/master)
2016-03-22 05:05:37 +00:00
2017-01-25 04:29:37 +00:00
Insomnia is a cross-platform _REST client_, built on top of [Electron](http://electron.atom.io/).
2016-04-14 01:08:39 +00:00
2017-01-25 04:30:36 +00:00
![Insomnia REST Client Screenshot](https://insomnia.rest/images/docs/promo.png?bust=1)
2016-04-23 04:06:31 +00:00
## Setup
2016-04-14 01:08:39 +00:00
```bash
# Install and use correct Node version
2017-01-25 04:29:37 +00:00
nvm install
# Install dependencies
npm install
2016-04-14 01:08:39 +00:00
```
## Run Development
When you run the development environment, it will start both a dev server and an Electron
instance. The dev server is part of Webpack and is used to control hot module replacement
of UI components. This means that, if you change a component file, you will not need to
refresh the app to see the change. It will inject the new component immediately.
2016-04-14 01:08:39 +00:00
```bash
npm run dev
2016-04-14 01:08:39 +00:00
```
2017-01-25 04:29:37 +00:00
## Build to Folder
Build all assets into `./build/`
```bash
npm run build
```