GithubHelp home page GithubHelp logo

paversions's Introduction

paversions

Why this application ?

IBM Planning Analytics is really a great software. Since a while now, it has been splitted in "products" :

  • Planning Analytics Local / TM1, which I call PAL, is the database engine,
  • Planning Analytics Workspace, which I call PAW, is the Web Dashboarding and Modeling application,
  • Planning Analytics for Microsoft Excel, which I call PAX, is the Microsoft Excel Addin
  • Planning Analytics Spreadsheet Services, which I call PASS or TM1Web, is the way to access Excel published material linke to TM1 from a Web application

Each "product" has its own life and so its own versioning, release schedule and its own dedicated web page on the IBM website.

I've always been frustrated by the fact that there was no centralized webservice which could deliver information about what are the available versions for each "product" so I decided to take the challenge to try to build something that could deliver these information.

What you need to run it locally ?

You'll need NodeJS for the backend and QuasarCLI for the frontend, installed on your computer.

If you want to build it directly from my repo, once you've replicated my repo locally, just run a npm install from the main folder and it will grab the npm needed packages (express, puppeteer & cors).

express : Fast, unopinionated, minimalist web framework for Node.js

puppeteer : Headless Chrome Node.js API

cors : it's a package used to manage cross origin resource sharing. I've added but I'm not sure it's mandatory if both back & front ends are hosted on the same box

Just run node .\app.js from the main folder and access http://localhost:3000/#/ and you're done !

How to update the back end

Everything is in the app.js from the main folder and it's, IMHO, quite straight forward.

Don't blame me for having some code repeated but I didn't manage to get the initial version, with all the products in one call, work on Heroku. By splitting the main function for each product (PAW, TM1, PAX & TM1Web), no more time out issue.

How to update the front end ?

Having QuasarCLI installed, go in the frontsubfolder and run a npm install to install all the required npm packages.

In order to run the front end just type quasar dev and it will build the app and launch the browser. All the code is within the front\src\pages\Index.vue file.

Once again, I have stacked 4 fetch commands in order to deal with multiple calls to the backends. I've done it this way once again because of the timeout issue on Heroku.

When you're satisfied with your code, stop Quasar and run a quasar build in order to generate the static stuff (html, js & css). Copy front\dist\spa content directly in the public folder and then stop / restart the backend.

paversions's People

Contributors

bobmilli avatar

Stargazers

Marius Wirtz avatar Christoph Hein avatar

Watchers

James Cloos avatar  avatar Christoph Hein avatar Marius Wirtz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.