Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

LyonDataViz/occupapp

Repository files navigation

Occupapp

Conventional Commits

Discover the space occupation of agents in a scene.

https://occupapp.now.sh/

Versions

Current version is deployed at https://occupapp.now.sh/, and follows the master branch.

Previous versions:

See CHANGELOG.md for more details.

Install

  • install

    npm install
    
  • build and serve locally (with hot-reloads) for development:

    npm run serve
    

    It will watch for changes in the src/ directory. Note: currently it doesn't watch for changes in index.html and favicon.ico, due to vladshcherbin/rollup-plugin-copy#5

  • deploy to now.sh (it should not be necessary to launch it manually, every push to GitHub will deploy the application with a dedicated URL):

    npm run deploy
    

Other targets:

Build upon Vue.js, see Configuration Reference. Use vue upgrade to keep your dependencies up to date (possibly after upgrading Vue CLI with npm install -g @vue/cli). Other dependencies might be updated directly with npm, taking care not to break the ones managed by Vue CLI (in particular, by now, Vue CLI dependencies require ESLint 5, so don't upgrade to ESLint 6).

To lint with Atom Editor, install linter-eslint, add , source.ts, text.html.vue to the "List of scopes", and unselect "Lint HTML files". Note that I don't know how to get Typescript linting in Atom: I just launch npm run serve, and see the result of the type checking done through Webpack. Some references:

The Vue components are developed as TypeScript classes. See:

The Vuex stores are dynamic modules, and use Typescript. See https://championswimmer.in/vuex-module-decorators/.

Documentation

Project developed for the LIRIS M2i project by Sylvain Lesage with Celia Gremillet, Philippe Rivière, Gabin Rolland, Aurélien Tabard and Romain Vuillemot.