scrime-u-bordeaux / web-midifile-performer

a web version of the midifile performer software
0 stars 0 forks source link

Midifile Performer

About

This is a VueJS implementation of the Midifile Performer software, as described in Serpette, Haury et al..

Setup

The application keeps track of the current date on every git commit, and displays it.

For this to work, please take the following steps when you set up the repository, before you commit any code :

  1. If such is not already the case, make the config_hooks.sh file executable through the following command :
chmod 744 config_hooks.sh
  1. Run the following npm script :
npm run init_hooks

After this, the process is automatic, and the commit date will be automatically registered. Note : to ensure this information remains meaningful, please do not manually modify or interact with the meta.json file, and only let the git hook do it.

Building

The website is a SPA (single page application) mostly written with VueJS and bundled with Webpack.

To develop, run npm run dev : This will launch a local server that will hot-reload your page on any change during development.

To build, run npm run build : This will result in the creation of a dist folder which will contain an index.html and all the necessary resources, on which you can run any static http server.

To get rid of the hashtag before all the SPA's routes in the browser's url bar :

see vue-router's history modes

Todo

define clean dev and prod env files