Giter Site home page Giter Site logo

ripry / umakaviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbcls/umakaviewer

0.0 0.0 0.0 391 KB

Umaka Viewer

License: MIT License

JavaScript 1.20% Dockerfile 0.03% Shell 0.35% Makefile 0.04% Python 15.40% Mako 0.09% HTML 6.49% CSS 5.35% SCSS 6.08% TypeScript 64.97%

umakaviewer's Introduction

Umaka Viewer: A data visualizer for Sparql Builder

Website | Docs (ja) | Manual (ja)

Requirement

  • Docker
  • Python 3.6.11
    • poetry 1.1.3
  • Node.js 12.18.4
  • MySQL 8.0.22

Installation

  1. Clone repository and update submodule
$ git clone https://github.com/dbcls/umakaviewer.git
$ git submodule update --init
  1. Install packages of Node.js
$ yarn install
  1. Install packages of Python
$ cd server
$ make bootstrap

Start Servers at localhost

  1. Start Docker
$ docker-compose -f docker/docker-compose.yml up
  1. Start Flask
(another session)
$ cd server
$ make run-development
  1. Build Webpack
$ yarn build 
  1. Go to "http://localhost" in your browser

Testing in a local environment

  1. Create database and user in MySQL
$ mysqladmin create dbcls_test -u root -h127.0.0.1 -P3308 --default-character-set=utf8mb4
$ mysql -u root -h127.0.0.1 -P3308
mysql> CREATE USER 'dbcls_tester'@'127.0.0.1' IDENTIFIED BY 'rjIHxE8qQT';
mysql> GRANT ALL ON dbcls_test.* TO 'dbcls_tester'@'127.0.0.1' WITH GRANT OPTION;
mysql> flush privileges;
$ APP_ENV=test poetry run alembic -n test upgrade head
  1. Run tests
$ cd server
$ APP_ENV=test poetry run pytest tests

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.