https://github.com/bptlab/scylla-ui
UI visualizing results of the BPMN process simulator Scylla
https://github.com/bptlab/scylla-ui
Last synced: 8 months ago
JSON representation
UI visualizing results of the BPMN process simulator Scylla
- Host: GitHub
- URL: https://github.com/bptlab/scylla-ui
- Owner: bptlab
- License: mit
- Created: 2017-12-13T20:11:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T17:39:51.000Z (about 8 years ago)
- Last Synced: 2025-01-07T19:51:54.710Z (over 1 year ago)
- Language: TypeScript
- Size: 1.64 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ScyllaUi
[](https://travis-ci.org/bptlab/scylla-ui)[](https://codeclimate.com/github/bptlab/scylla-ui/maintainability)[](https://codeclimate.com/github/bptlab/scylla-ui/test_coverage)
## Prerequisites
This project is developed using Angular CLI. In order to run and this project or develop on your own, you need to setup the following:
* [Angular CLI (^1.5.0)](https://github.com/angular/angular-cli)
* Optional: [Docker](https://docs.docker.com/install/)
## Table of Contents
* [Setup](https://github.com/bptlab/scylla-ui#setup)
* [Development server](https://github.com/bptlab/scylla-ui#development-server)
* [Build](https://github.com/bptlab/scylla-ui#build)
* [Running unit tests](https://github.com/bptlab/scylla-ui#running-unit-tests)
* [Docker](https://github.com/bptlab/scylla-ui#docker)
* [Documentation](https://github.com/bptlab/scylla-ui#documentation)
* [License](https://github.com/bptlab/scylla-ui#license)
## Setup
Angular is based on [nodejs](https://nodejs.org/en/) and [npm](https://github.com/npm/npm). In order to run the project locally on your machine, you need to install it's dependencies. You can achieve that by running `npm install`.
After execution, you will see a folder called `node_modules` containing all dependencies.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Docker
Scylla UI is dockerized. Our deployment process is completly based on Docker and Jenkis CI (deploying the image to [our website](https://bpt-lab.org/scylla-ui/)) as well as Travis CI (running the tests and building the image).
### Build the image on your own
You can build the image by running `docker build -t bptlab/scylla-ui .`. This will build the image based on our [Dockerfile](Dockerfile).
### Pull image from [hub.docker.com](https://hub.docker.com/r/bptlab/scylla-ui/)
As an alternative, you can pull our image from Docker Hub by running `npm run build:docker` (or `docker pull bptlab/scylla-ui`).
### Running a container
In order to run the app, we suggest the following command `npm run start:docker` (or `docker run -p "8080:80" --rm -d bptlab/scylla-ui`). Navigate to `http://localhost:8080/`.
## Documentation
The documentation for the Scylla UI is located in this repo's [wiki](https://github.com/bptlab/scylla-ui/wiki).
## License
MIT