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.
Execute the following commands from the project root in order to build the repo.
pnpm install
pnpm buildGo inside apps/console and change the .env.local file as follows.
SERVER_TYPE="tomcat"And then build the application.
pnpm buildGo inside apps/console and change the .env.local file as follows.
SERVER_TYPE="static"And then build the application.
pnpm buildNote Once the build is completed, you can find the build artifacts inside the build folder i.e
apps/console/build.
Go inside apps/myaccount and change the .env.local file as follows.
SERVER_TYPE="tomcat"And then build the application.
pnpm buildGo inside apps/myaccount and change the .env.local file as follows.
SERVER_TYPE="static"And then build the application.
pnpm buildNote Once the build is completed, you can find the build artifacts inside the build folder i.e
apps/myaccount/build.