This project was generated with Angular CLI using Nrwl Nx.
Install gcc on Fedora:
sudo dnf install gcc-c++
Install gcc on Debian/Ubuntu:
sudo apt install build-essential
npm install --global @angular/cli nx
To build all apps:
nx build --project=pascal --prod -c=production # build the web app
nx build --project=desktop-front --prod -c=production # build electron frontend
nx build --project=desktop-back --prod -c=production # build electron backend
nx run desktop-back:make --platform=linux --arch=x64 --publishPolicy=never # packaging electron .deb, .snap, etc
To build desktop app for production:
npm run nx build -- --project=desktop-front --prod -c=production && \
npm run nx build -- --project=desktop-back --prod -c=production && \
npm run nx run desktop-back:make -- --platform=linux --arch=x64 --publishPolicy=never
Run ng test
to execute the unit tests via Jest.
Run ng e2e
to execute the end-to-end tests via Cypress.
Before running the tests make sure you are serving the app via ng serve
.
envoy run deploy --project=pascal