docker run -v "$PWD":/usr/src/app -w /usr/src/app node:alpine sh -c 'npm install && npm run build'
npm install
npm run client:build
npm run server:prod
Update the configuration file under ./server/config.json
:
{
"AUTHORIZE_API_KEY": "mysecret",
"EXTENSION_SECRET": "mysecret",
"AUTH0_DOMAIN": "me.auth0.com",
"AUTH0_CLIENT_ID": "myclientid",
"AUTH0_CLIENT_SECRET": "myclientsecret"
}
Then you can run the extension:
npm install
npm run serve:dev