skrill-frontend/README.md

58 lines
1.3 KiB
Markdown
Raw Normal View History

2024-07-28 03:04:23 -06:00
# Skrill
Webapp UI for stock and crypto trading.
## Install / Development
Install nvm as node manager, install latest node.
```bash
# 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
```
2024-07-28 11:48:02 -06:00
npm run build:prod
podman build -t skrill .
podman exec -it skrill-frontend_app_1 bash
podman compose up
```
2024-07-28 03:04:23 -06:00
```bash
# Build Docker image
$ docker build . -t angular-starter
# Run Docker Container
$ docker run -p 3000:80 angular-starter
```
## Docker Hub
https://hub.docker.com/r/wlucha/angular-starter
## Commands
- `npm run start` - Start the app
- `npm run lint` - Lint the project
- `npm run test` - Run unit tests
- `npm run build` - Build the project
- `npm run build:prod` - Build the project in production mode
- `npm run build:prod:stats` - Build the project in product mode with stats
- `npm run analyse` - Analyse bundle with [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer)
- `npm run compodoc` - Generate [compodoc](https://github.com/compodoc/compodoc) documentation
- `npm run version` - Generate changelog
- `npm run prettier` - Format the whole project
- `npm run audit` - Audit this application using Sonatype OSS Index