npm install
npm build
npm test
# npm start run
cd build
EDM_LOG_LEVEL=debug node app run -c ../edm-settings.json
The log level can be set via the EDM_LOG_LEVEL
environment variable
(eg trace, debug, info, warn, error, fatal).
npm run-script pkg
Run edm-mock-auth server:
npm install
npm start
Go to http://127.0.0.1:4000/auth - create an account. You can now stop the edm-mock-auth server.
Grab the token for your client from the edm_backend_dev
(or equivalent) database
->guardian_tokens
table, jwt
field.
Edit your edm-client config (eg edm-settings.json
) and add the token to:
{ "serverSettings": { "token": "blabla" }}
A list of small things to work on:
- TODO: proxy settings parsing in edmKit/networking.ts, integrate with connection.ts
- TODO: Prompt for token if none given, with web address where to get one
- TODO: Command to write default config file template
- TODO: Package app as "edm" instead of "node app", possible pack it into one file if possible