Look at the nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
Create file .env in project's root directory.
.env example:
NUXT_APP_BUILD_ASSETS_DIR='/realm00000/v/_nuxt/'
KEYCLOAK_URL='https://stage-auth.finmars.com'
KEYCLOAK_REALM='finmars'
KEYCLOAK_CLIENT_ID='finmars'
APP_HOST='http://localhost:3000/v'
API_HOST='https://stage.finmars.com'
AUTH_HOST='https://stage.finmars.com/authorizer'
OLD_APP_URL='http://0.0.0.0:8080/#!/'
NUXT_HOST='localhost'
For NUXT_APP_BUILD_ASSETS_DIR replace realm00000 with the one that will be used
Run command:
npm run dev
For locally deployed backend run command:
npm run dev-local
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.
Create .env
.env example
KEYCLOAK_URL=https://dev-auth.finmars.com
KEYCLOAK_REALM=finmars
KEYCLOAK_CLIENT_ID=finmars
NUXT_APP_BASE_URL=/realm00000/v/
APP_HOST=http://0.0.0.0:3000/realm00000/v/
AUTH_HOST=http://0.0.0.0:8083/authorizer
API_HOST=http://0.0.0.0:8000
Content type
Image
Digest
sha256:26e75c2fa…
Size
336.1 MB
Last updated
9 months ago
docker pull finmars/finmars-vue-portal