Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Redashの開発はじめました / How to get started Redash dev...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
taminif
September 03, 2019
Programming
810
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Redashの開発はじめました / How to get started Redash development
taminif
September 03, 2019
More Decks by taminif
See All by taminif
React Native New Architecture 移行実践報告
taminif
1
250
「とりあえずAI」が招く悲劇〜私がAIで生産性を下げるまでの話〜 / The tragedy caused by "AI for now" - The story of how I used AI to reduce my productivity
taminif
1
310
PuppeteerとPlaywrightの15日間の演劇 / relation of Puppeteer and Playwright
taminif
3
2.3k
私の生活を変えたHeadless Chrome / Headless Chrome who changed my life
taminif
3
540
WebSocketをiOSに持ち込んで辛い思いをした経験がありますか!? / have you painful experience in web socket?
taminif
3
6.2k
LINEで馬券を購入する / Purchase a betting ticket at LINE
taminif
1
1.7k
SkyWayで一年間運用してきたけどWebRTCってつらいんじゃないの
taminif
2
1k
オンライン英会話とSkyWay
taminif
0
550
オンライン英会話アプリとSkyWay
taminif
0
500
Other Decks in Programming
See All in Programming
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.3k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
200
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
6
1.4k
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
180
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.7k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
540
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
410
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
350
Oxlintのカスタムルールの現況
syumai
6
1.1k
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
590
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
140
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Utilizing Notion as your number one productivity tool
mfonobong
4
320
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
430
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
GraphQLとの向き合い方2022年版
quramy
50
15k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
460
Paper Plane
katiecoart
PRO
1
51k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Transcript
Redashͷ։ൃ ͡Ί·ͨ͠ Redash Meetup 6.0.0 2019/09/03 େౡ ޫو@sbntaminif
ࣗݾհ • ΣϒϦΦגࣜձࣾɹ։ൃGϦʔμʔ • ීஈژͰಇ͍͍ͯ·͢ • ؔNodeֶԂ&SkyWay Meetup Organizer •
ࢥ͍ͬͯ͜ͷMeetupʹඈͼࠐΜͰ͖·ͨ͠
RedashOSSͰ͢ ։ൃʹࢀՃ͍ͨ͠ https://github.com/getredash/redash/blob/master/CONTRIBUTING.md
ࣗͷMacbook Proʹ ڥߏஙͯ͠Έͨ
ߏஙํ๏ ެࣜυΩϡϝϯτࢀর Docker্Ͱͳ࣮͘ػʹߏங https://redash.io/help/open-source/dev-guide/setup
खॱͦͷ··Ͱ ϩʔΧϧͰಈ͍ͨʂ
ͦͷ··MacͰಈ͍͍ͯΔ MySQLʹଓ͢Δ
͋Εʁ
MySQLͷ Datasource͕ͳ͍ɾɾɾ
ͳͥʁʁ
RedashOSSͰ͢ ιʔείʔυΛಡΜͰΈΔ
query_runnerϑΥϧμͷதʹ ֤DatasourceͷଓͷͨΊͷ࣮͕͋Δ https://github.com/getredash/redash/tree/master/redash/query_runner
import logging import os import threading from redash.query_runner import TYPE_FLOAT,
TYPE_INTEGER, TYPE_DATETIME, TYPE_STRING, TYPE_DATE, BaseSQLQueryRunner, InterruptException, register from redash.settings import parse_boolean from redash.utils import json_dumps, json_loads try: import MySQLdb enabled = True except ImportError: enabled = False ɾ ɾ ɾ mysql.pyͷίʔυ
import logging import os import threading from redash.query_runner import TYPE_FLOAT,
TYPE_INTEGER, TYPE_DATETIME, TYPE_STRING, TYPE_DATE, BaseSQLQueryRunner, InterruptException, register from redash.settings import parse_boolean from redash.utils import json_dumps, json_loads try: import MySQLdb enabled = True except ImportError: enabled = False FOBCMFEͷʹΑͬͯ ༻Մೳ͔Ͳ͏͔Λఆ MySQLdb͕ͳ͍͜ͱ͕Θ͔ͬͨ ͳͥMySQLdb͕ͳ͍ͷ͔ʁʁ
pip install -r requirements_all_ds.txt MySQLdbΛࢦఆͯ͠Πϯετʔϧ pip install MySQL-python -> MySQL-python͚ࣦͩഊ͢Δ
-> ͪΖΜࣦഊ͢Δ
ࠔͬͨ࣌ͷStackOverflow https://stackoverflow.com/questions/12218229/my-config-h-file-not-found-when-intall-mysql-python-on-osx-10-8
mysql-connector-cΛͬͯ MySQL-pythonΛΠϯετʔϧ https://stackoverflow.com/questions/12218229/my-config-h-file-not-found-when-intall-mysql-python-on-osx-10-8
Datasource͕දࣔ͞Εͨ
PRૹͬͯΈͨ
Ϛʔδ͞Ε·ͨ͠❗
Let’s Contributing!
͋Γ͕ͱ͏͍͟͝·ͨ͠