✨ This workspace has been generated by Nx, Smart Monorepos · Fast CI. ✨
Enhance your Nx experience by installing Nx Console for your favorite editor. Nx Console provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.
Copy the contents of .env.sample (located in the root directory). Then create a new file named .env (in the root directory) and paste the contents of .env.sample into .env file and replace '' with corresponding values of the api keys.
Run npm run serve:customer-webapp-local
to start the development server. Happy coding!
Export the environment variables on the server as explained above by taking a reference from .env.sample file
Run npm run build:customer-staging
to build the application
if the build command fails try resetting the nx cache by running npm run nx-cache-reset
and building again
The build artifacts are stored in the output directory (e.g. dist/
), ready to be deployed.
To execute tasks with Nx use the following syntax:
npx nx <target> <project> <...options>
You can also run multiple targets:
npx nx run-many -t <target1> <target2>
..or add -p
to filter specific projects
npx nx run-many -t <target1> <target2> -p <proj1> <proj2>
Targets can be defined in the package.json
or projects.json
. Learn more in the docs.
Nx comes with local caching already built-in (check your nx.json
). On CI you might want to go a step further.
Run npx nx graph
to show the graph of the workspace.
It will show tasks that you can run with Nx.