2016-11-14 09:13:56 +01:00
|
|
|
[![Build Status](https://travis-ci.org/Unleash/unleash-frontend.svg?branch=master)](https://travis-ci.org/Unleash/unleash-frontend)
|
|
|
|
[![dependencies Status](https://david-dm.org/Unleash/unleash-frontend/status.svg)](https://david-dm.org/Unleash/unleash-frontend)
|
|
|
|
[![devDependencies Status](https://david-dm.org/Unleash/unleash-frontend/dev-status.svg)](https://david-dm.org/Unleash/unleash-frontend?type=dev)
|
2017-11-11 08:34:47 +01:00
|
|
|
[![Greenkeeper badge](https://badges.greenkeeper.io/Unleash/unleash-frontend.svg)](https://greenkeeper.io/)
|
2016-11-14 09:13:56 +01:00
|
|
|
|
2016-11-10 14:50:04 +01:00
|
|
|
# Developing
|
2016-11-10 14:26:24 +01:00
|
|
|
|
2017-01-04 22:55:50 +01:00
|
|
|
### Run with together with local unleash-api:
|
|
|
|
|
2016-11-10 14:50:04 +01:00
|
|
|
You need to first start the unleash-api on port 4242
|
|
|
|
before you can start working on unleash-frontend.
|
2016-11-10 14:26:24 +01:00
|
|
|
|
2016-11-10 14:50:04 +01:00
|
|
|
Start webpack-dev-server with hot-reload:
|
2016-11-10 14:26:24 +01:00
|
|
|
```bash
|
2019-06-07 11:48:57 +02:00
|
|
|
cd ~/unleash-frontend
|
|
|
|
npm install
|
2016-11-10 14:26:24 +01:00
|
|
|
npm run start
|
|
|
|
```
|
|
|
|
|
2017-01-04 22:55:50 +01:00
|
|
|
### Run with heroku hosted unleash-api:
|
|
|
|
|
|
|
|
```bash
|
2019-06-07 11:48:57 +02:00
|
|
|
cd ~/unleash-frontend
|
|
|
|
npm install
|
2017-01-04 22:55:50 +01:00
|
|
|
npm run start:heroku
|
|
|
|
```
|
|
|
|
|
2016-11-10 14:26:24 +01:00
|
|
|
Happy coding!
|