gedeh / smc-blitar

Blitar Smart City - Dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blitar Smart City Dashboard

Run metabase

To run metabase as business intelligence platform, open directory bi-platform then follow the steps in README.md

Run dashboard

Setup environment to run dashboard

To prepare command-center, use the following steps:

  • Install Chocolatey
  • Install NodeJS LTS using choco install nodejs-lts
  • Open directory dashboard \ src
  • Initialise the project by installing dependencies by running npm install
  • Using elevated priviledge command line, install Grunt as JavaScript task runner using command npm install -g grunt-cli (if you unable to use grunt in CLI, with message 'grunt' is not recognized as an internal or external command, operable program or batch file make sure %USERPROFILE%\AppData\Roaming\npm is registered in the machine's PATH environment variable)

Run dashboard app

Inside directory dashboard \ src, run these command:

  • Build minified CSS and JavaScript files using grunt dist
  • Compile CSS and JavaScript files then auto recompile if sass file modified using command: npm run build-frontend-watch
  • Ensure all JSX components synced: npm run build-react-watch
  • Run server and auto-reload using command: npm run start-dev

About

Blitar Smart City - Dashboard


Languages

Language:HTML 91.2%Language:CSS 4.8%Language:SCSS 2.4%Language:JavaScript 1.6%Language:Dockerfile 0.0%Language:Shell 0.0%