https://github.com/mahugnon/cimticketsanalyse
This project analyse a software tickets database to render a dashboard that gives indications about the productivity of developers and the project evolution
https://github.com/mahugnon/cimticketsanalyse
java pharo seaside software spring-boot tickets
Last synced: about 2 months ago
JSON representation
This project analyse a software tickets database to render a dashboard that gives indications about the productivity of developers and the project evolution
- Host: GitHub
- URL: https://github.com/mahugnon/cimticketsanalyse
- Owner: mahugnon
- Created: 2019-05-22T11:40:19.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-10-21T17:10:07.000Z (over 4 years ago)
- Last Synced: 2025-02-11T12:41:32.264Z (over 1 year ago)
- Topics: java, pharo, seaside, software, spring-boot, tickets
- Language: Smalltalk
- Homepage:
- Size: 40.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.com/mahugnon/CIMTicketsAnalyse)

[](https://coveralls.io/github/mahugnon/CIMTicketsAnalyse)
[](https://pharo.org/download)
[](https://pharo.org/download)
# CIMTicketsAnalyse
To lead the project in a clean pharo image:
```Smalltalk
Metacello new
githubUser: 'mahugnon' project: 'CIMTicketsAnalyse' commitish: 'main' path: 'src';
baseline: 'CIMTicketsAnalyse';
onConflict: [ :e | e useIncoming ];
onUpgrade: [ :e | e useIncoming ];
load
```
# Installation on linux server without gui (headless)
- Clone the repository in the server
- Copy and paste the following script or navigate into the project directory and run `chmod 777 runCentOS8.sh && ./runCentOS8.sh`
```bash
#!/usr/bin/env bash
set -vx
export path_to_pharo=~/cimdashboard/app
export pharo_version=70
export pharo_headless_server="$path_to_pharo/pharo-vm/pharo -vm-display-null -vm-sound-null --memory 512m"
# Make sure the installation directory is empty
rm -rf $path_to_pharo
mkdir -p $path_to_pharo
cd $path_to_pharo
#Close all screen named dashboard
#screen -S ticketsDashboard -X quit
# Download pharo with vm
curl get.pharo.org/64/$pharo_version+vm | bash
# Rename image as TicketsDashboard
./pharo Pharo.image save TicketsDashboard
# load the project baseline and save it
./pharo TicketsDashboard.image eval --save "Metacello new
githubUser: 'mahugnon' project: 'CIMTicketsAnalyse' commitish: 'master' path: 'src';
baseline: 'CIMTicketsAnalyse';
onConflict: [ :e | e useIncoming ];
onUpgrade: [ :e | e useIncoming ];
load"
# Prepare the image for production
./pharo TicketsDashboard.image eval --save "WAAdmin clearAll.
WAAdmin applicationDefaults removeParent:
WADevelopmentConfiguration instance.
WAFileHandler default: WAFileHandler new.
WAFileHandler default
preferenceAt: #fileHandlerListingClass
put: WAHtmlFileHandlerListing.
WAAdmin defaultDispatcher
register: WAFileHandler default
at: 'files'"
# Run the image in a virtual screen
# Set up the scheduler to load data from database once per month
# Set default server port
$pharo_headless_server TicketsDashboard.image eval --no-quit 'CIMDatabase scheduleUpdate
(ZnServer defaultOn: 8792) start' &
```