mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 03:32:02 -07:00
1.8 KiB
1.8 KiB
Skrill
Webapp UI for stock and crypto trading.
Install / Development
Install nvm as node manager, install latest node.
# Clone the project
$ git clone https://git.zavage.net/Zavage-Software/skrill-frontend
$ cd skrill-frontend
# Install dependencies
$ npm install
# Start server
$ npm run start
# Open in browser: http://localhost:4200
Docker Deployment
npm run build:prod
podman build -t skrill .
podman exec -it skrill-frontend_app_1 bash
podman compose up
# Build Docker
$ docker build . -t skrill-frontend
# Run Docker Container
$ docker run -p 3000:80 skrill-frontend
Docker Hub
https://hub.docker.com/r/wlucha/angular-starter
Commands
npm run start
- Start the appnpm run lint
- Lint the projectnpm run test
- Run unit testsnpm run build
- Build the projectnpm run build:prod
- Build the project in production modenpm run build:prod:stats
- Build the project in product mode with statsnpm run analyse
- Analyse bundle with webpack-bundle-analyzernpm run compodoc
- Generate compodoc documentationnpm run version
- Generate changelognpm run prettier
- Format the whole projectnpm run audit
- Audit this application using Sonatype OSS Index
Creating components
npx ng generate component HomeComponent --module=app
This app was created and started from https://github.com/wlucha/angular-starter
Many thanks to all contributors!! and especially Wilfried wlucha. This starter angular scaffold was the best/up-to-date and the one that worked for me. I have included the MIT-license for the copyright angular-starter. Thank you!!
Contact
- Mathew Guest - mat@zavage.net