Skip to content

llstarscreamll/kirby-app

Repository files navigation

Angular Kirby

Build Status codecov dependencies Status devDependencies Status GitHub

This project was generated with Angular CLI using Nrwl Nx.

Requirements

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

Build

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

Running unit tests

Run ng test to execute the unit tests via Jest.

Running end-to-end tests

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.

Deploy Web App

envoy run deploy --project=pascal

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages