Scripts
Our package.json
houses a collection of run-scripts that we use to maintain, test, build, and publish the OVHcloud Manager, notably:
Table of Content
Generate a module (or an Application)
sh
# `foo` is the name of your module.
$ yarn run generate:module ./packages/manager/modules/foo
# `foo` is the name of your application.
$ yarn run generate:app ./packages/manager/apps/foo
# `foo` is the name of your micro-application.
$ yarn run generate:uapp
# start the application
$ yarn && cd packages/manager/apps/foo && yarn run start:dev
Now you are able to visit http://localhost:9000/#!/foo
(route based on the module name).