Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Redashの開発はじめました / How to get started Redash dev...
Search
taminif
September 03, 2019
Programming
830
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
Transcript
22 slides
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!
͋Γ͕ͱ͏͍͟͝·ͨ͠
More Decks by taminif
See All by taminif
React Native New Architecture 移行実践報告
taminif
1
320
「とりあえずAI」が招く悲劇〜私がAIで生産性を下げるまでの話〜 / The tragedy caused by "AI for now" - The story of how I used AI to reduce my productivity
taminif
1
370
PuppeteerとPlaywrightの15日間の演劇 / relation of Puppeteer and Playwright
taminif
3
2.4k
私の生活を変えたHeadless Chrome / Headless Chrome who changed my life
taminif
3
570
WebSocketをiOSに持ち込んで辛い思いをした経験がありますか!? / have you painful experience in web socket?
taminif
3
6.3k
LINEで馬券を購入する / Purchase a betting ticket at LINE
taminif
1
1.7k
SkyWayで一年間運用してきたけどWebRTCってつらいんじゃないの
taminif
2
1.1k
オンライン英会話とSkyWay
taminif
0
570
オンライン英会話アプリとSkyWay
taminif
0
520
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
180
GraphQL の onError と Nullability のこれから
quramy
0
220
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
AI-Powered Domain-Driven Design
ziobrando
0
470
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
AI Augmentation Techniques with Liberty
ivargrimstad
1
520
SODA - FACT BOOK(JP)
sodainc
1
40k
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
220
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
660
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
490
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
220
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
300
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
The Invisible Side of Design
smashingmag
301
52k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
580
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k