Files
flipper/desktop/flipper-server
Andrey Goncharov d1ed676a48 Remove dynamic dependencies from flipper-server
Summary:
Currently, Flipper Server has a few productions dependencies (mac-ca, node-fetch) that are not bundled with the Flipper Server. It makes it harder to distribute Flipper Server, as now all potential consumers need not only to download the bundle, but also install these additional dependencies.
This diff makes it possible to bundle `mac-ca` and `node-fetch` with Flipper Server. As a result, Flipper Server becomes dependency-free in production.

Reviewed By: lblasa

Differential Revision: D36345213

fbshipit-source-id: 2cd6ba1b3301b45dc2295891964ba020fd107586
2022-05-13 03:19:47 -07:00
..

flipper-server (TBD)

Stand alone Flipper server as NodeJS process, that uses flipper-server-core for device communication and also provides a webserver to serve flipper-ui.

Flipper-server can be used as background process, for example on CI servers or to power IDE plugins.

Running flipper server

From NPM

TODO:

From source

cd <Flipper checkout>/desktop
yarn install
yarn flipper-server

Production build from source

cd <Flipper checkout>/desktop
yarn install
yarn build:flipper-server

Pass the --open flag to open Flipper server after building

Use --no-rebuild-plugins to speed up subsequent builds if default plugins have been build already