Generate self signed certificate:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout packages/server/crt/selfsigned.key -out packages/server/crt/selfsigned.crt
Build docker image:
docker build -t catalog-3000:latest .
Run application:
docker run -p 8443:8443 catalog-3000:latest
openssl genrsa -out packages/server/crt/token.key 4096
openssl rsa -in packages/server/crt/token.key -pubout -out packages/server/crt/token.crt
-
npm - follow instructions
-
nvm - follow instructions
-
direnv - follow instructions
yarn install
yarn start:dev
self signed certificate is required
The following npm scripts are made
available to you in the project root. You can run each of them with
yarn run <script-name>
.
If you want to limit the scope of a script to a particular package, add the
--scope
option to the command (e.g.,
yarn run clean -- --scope=@catalog/client
). See [run options][].
Removes node_modules
and build
directories by running yarn clean
for each
package.
Supports [run options][].
Runs the build
scripts for each package.
Supports [run options][].
Runs the start:dev
scripts for each package.
Supports [run options][].
Runs the lint
scripts for each package.