It is possible to deploy the Console and My Account applications on an external server. To do so, the following steps has to be followed in order to build the applications.
Follow the steps in listed here in-order to build the project with maven.
Once the build is complete, execute the following commands in-order to build the Console & My Account applications for external deployment.
npx lerna run build:external --scope @wso2is/console
npx lerna run build:external:static --scope @wso2is/console
Once the build is completed, you can find the build artifacts inside the build folder i.e apps/console/build
.
npx lerna run build:external --scope @wso2is/myaccount
npx lerna run build:external:static --scope @wso2is/myaccount
Once the build is completed, you can find the build artifacts inside the build folder i.e apps/myaccount/build
.
You can simply use npm to build the Console and My Account applications for external deployment by just executing the following script.
# From project root
npm run build:external
# From project root
npm run build:external:static
The respective build artifacts could be found inside the build folder. (apps/(myaccount|console)/build
)