laconic-console/packages/console-server
2022-12-02 18:55:51 +05:30
..
bin Server Console App directly from the server. 2020-05-27 19:09:20 -04:00
public Server Console App directly from the server. 2020-05-27 19:09:20 -04:00
src Change package scopes from dxos to cerc-io 2022-12-02 18:55:51 +05:30
babel.config.js DxOS -> DXOS 2020-06-23 09:19:01 -05:00
config-kube.yml Updated tabs (#52) 2020-10-30 14:15:01 -05:00
config-testnet.yml Updated tabs (#52) 2020-10-30 14:15:01 -05:00
config.yml Updated tabs (#52) 2020-10-30 14:15:01 -05:00
package.json Change package scopes from dxos to cerc-io 2022-12-02 18:55:51 +05:30
README.md Change package scopes from dxos to cerc-io 2022-12-02 18:55:51 +05:30
webpack.config.js Change package scopes from dxos to cerc-io 2022-12-02 18:55:51 +05:30

Console

Apollo GraphQL client.

Usage

Use the following command to run the server at: http://localhost:9004

  yarn start  

To test the Console app, the @cerc-io/console-app must be built first:

  cd ../console-app
  yarn build

Use the following command to run the client in development mode (via the webpack-dev-server) at http://localhost:8080

  yarn dev

To build the client and serve it directly from the server:

  yarn build
  yarn start

Then open the app at: http://localhost:9004/console

Production

When running the Console server, either set the CONFIG_FILE environment variable or set the --config option.

  ./bin/console.js --config ./config.yml

NOTE: The server passes its configuration directly to the Console app when it is loaded.