jira-stats
Client-side (no server, IndexedDB is used for persisting data) web application to analyze estimate / spent times in exported Jira issues. Written in JS with EmberJS framework. In order to use it, one needs to export issues from Jira and "upload" file into app. Import page includes instructions.
Reports (charts) can be printed or saved to PDF via browser's "print" feature.
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
Installation
git clone <repository-url>
this repositorycd jira-stats
npm install
Running / Development
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try ember help generate
for more details
Running Tests
ember test
ember test --server
Linting
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
Building
ember build
(development)ember build --environment production
(production)
Deploying
Just build and then configure nginx/apache to use dist as site root. Example of nginx config below
server {
listen 80;
server_name jira-stats.domain;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/jira-stats.domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/jira-stats.domain/privkey.pem;
server_name jira-stats.domain;
root /path/to/dist;
location ~ /.well-known {
allow all;
}
# Deny all . files
location ~ /\. {
deny all;
}
index index.html
access_log off;
gzip on;
gzip_comp_level 9;
gzip_types text/plain text/xml text/css application/x-javascript image/png image/gif image/jpeg image/jpg;
location / {
include /etc/nginx/mime.types;
try_files $uri /index.html;
}
}