Clarify SQLALCHEMY_DATABASE_URI in the docs

This commit is contained in:
Maxime Beauchemin
2016-04-01 16:42:08 -07:00
parent c15c1704c7
commit c7d8af8818
3 changed files with 11 additions and 3 deletions

View File

@@ -98,7 +98,11 @@ of the parameters you can copy / paste in that configuration module: ::
# Your App secret key
SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h'
# The SQLAlchemy connection string.
# The SQLAlchemy connection string to your database backend
# This connection defines the path to the database that stores your
# caravel metadata (slices, connections, tables, dashboards, ...).
# Note that the connection information to connect to the datasources
# you want to explore are managed directly in the web UI
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/caravel.db'
# Flask-WTF flag for CSRF

View File

@@ -211,7 +211,11 @@ of the parameters you can copy / paste in that configuration module:</p>
<span class="c1"># Your App secret key</span>
<span class="n">SECRET_KEY</span> <span class="o">=</span> <span class="s1">&#39;</span><span class="se">\2\1</span><span class="s1">thisismyscretkey</span><span class="se">\1\2</span><span class="s1">\e\y\y\h&#39;</span>
<span class="c1"># The SQLAlchemy connection string.</span>
<span class="c1"># The SQLAlchemy connection string to your database backend</span>
<span class="c1"># This connection defines the path to the database that stores your</span>
<span class="c1"># caravel metadata (slices, connections, tables, dashboards, ...).</span>
<span class="c1"># Note that the connection information to connect to the datasources</span>
<span class="c1"># you want to explore are managed directly in the web UI</span>
<span class="n">SQLALCHEMY_DATABASE_URI</span> <span class="o">=</span> <span class="s1">&#39;sqlite:////tmp/caravel.db&#39;</span>
<span class="c1"># Flask-WTF flag for CSRF</span>

View File

@@ -1 +1 @@
Search.setIndex({envversion:46,filenames:["index","installation","user_guide"],objects:{},objnames:{},objtypes:{},terms:{"1thisismyscretkei":1,"64bit":1,"default":1,"function":0,"new":2,"short":2,"true":1,"while":1,abl:1,about:1,access:[0,2],account:1,action:1,admin:1,affect:2,after:1,aggreg:0,all:1,allow:[0,1],alreadi:2,also:1,alter:2,annot:0,app:1,appbuild:0,appli:2,applic:1,apt:1,aspect:2,attempt:1,authent:0,avail:[0,2],awar:1,back:1,backend:1,bat:1,been:0,best:0,brew:1,bring:1,browser:1,build:1,builder:1,cach:0,cache_config:1,can:[0,1,2],caravel:0,caravel_config:1,caravel_webserver_port:1,certain:2,cflag:1,chart:2,cluster:1,collect:2,come:[1,2],command:1,compli:1,config:1,configur:0,connect:1,constant:1,consult:1,control:0,copi:1,creat:[0,1,2],creation:0,credenti:1,cryptographi:1,csrf:1,csrf_enabl:1,css:0,current:1,custom:0,dashboard:0,data:[0,1,2],databas:[0,1],dataset:[0,2],datasourc:1,debian:1,debug:1,deep:0,defin:[0,1],demonstr:2,depend:0,deriv:[1,2],dev:1,devel:1,develop:1,differ:2,dimens:2,displai:0,document:1,done:1,down:0,drop:0,druid:0,dynam:2,easi:1,encount:1,encrypt:1,ensur:1,enter:1,enterpris:0,env:1,error:1,essenti:1,exist:2,explor:2,expos:2,express:0,extens:0,fabmanag:1,fall:1,fedora:1,few:1,field:0,file:1,filesystem:1,filter:0,flag:1,flask:[0,1],follow:1,framework:1,from:[0,1,2],gcc:1,get:0,global:1,goe:1,granular:0,guid:0,here:1,high:[0,2],hit:1,hostnam:1,how:[0,1,2],http:1,immun:2,includ:1,index:0,individu:0,inform:1,init:1,initi:0,instal:0,integr:0,intric:0,intro:0,isn:1,item:1,kei:1,languag:2,layer:0,ldap:0,ldflag:1,level:[1,2],lib:1,libffi:1,librari:[0,1],libssl:1,load:1,load_exampl:1,local:1,localhost:1,login:1,made:0,mai:1,major:0,make:1,march:0,markdown:2,memcach:1,memori:1,menu:1,metadata:1,metric:[0,2],mode:1,model:0,modul:[0,1],more:1,most:0,multipl:1,name:0,navig:[1,2],need:1,next:1,oauth:0,offici:1,onc:1,onli:1,openid:0,openssl:1,osx:1,other:2,own:2,page:0,panoramix:0,paramet:1,password:1,past:1,path:1,permiss:[0,1],pip:1,pkg:1,plai:1,pleas:1,point:1,popul:1,port:1,prefix:1,project:0,provid:[0,1],purpos:1,python:1,pythonpath:1,quick:0,rdbm:0,readi:0,redi:1,refresh:1,remote_us:0,renam:0,requir:1,rhel:1,rich:0,right:1,roadmap:1,role:1,row_limit:1,rule:0,run:1,runserv:1,search:0,searchpath:1,secret:1,secret_kei:1,secur:0,semant:[0,2],server:1,set:[0,1],share:0,should:[0,1],show:[0,1,2],sign:1,simpl:[0,1,2],simplecach:1,slice:[0,1],some:[0,1],soon:2,sourc:[0,1],specif:1,specifix:1,sql:0,sqlalchemi:[0,1],sqlalchemy_database_uri:1,sqlite:1,start:0,step:1,store:1,string:1,sudo:1,support:1,sure:1,templat:2,test:1,thei:1,them:[1,2],theme:0,thi:[0,1,2],through:[0,2],timeout:1,tmp:1,toggl:2,ubuntu:1,ultim:1,unfortun:1,upgrad:1,user:[0,1],vcvarsal:1,video:2,view:2,visual:0,walk:2,walkthrough:2,want:1,web:1,webserver_thread:1,where:1,whether:1,which:0,who:0,widget:2,window:1,won:1,work:2,wtf:1,x86_amd64:1,you:[1,2],your:[1,2],yum:1},titles:["Overview","Installation &amp; Configuration","User Guide"],titleterms:{annot:2,cach:1,caravel:1,configur:1,content:0,creation:2,css:2,custom:2,dashboard:2,defin:2,depend:1,druid:1,express:2,featur:0,filter:2,get:1,guid:2,indic:0,initi:1,instal:1,intro:2,overview:0,quick:2,slice:2,sql:2,start:1,tabl:[0,2],theme:2,user:2}})
Search.setIndex({envversion:46,filenames:["index","installation","user_guide"],objects:{},objnames:{},objtypes:{},terms:{"1thisismyscretkei":1,"64bit":1,"default":1,"function":0,"new":2,"short":2,"true":1,"while":1,abl:1,about:1,access:[0,2],account:1,action:1,admin:1,affect:2,after:1,aggreg:0,all:1,allow:[0,1],alreadi:2,also:1,alter:2,annot:0,app:1,appbuild:0,appli:2,applic:1,apt:1,aspect:2,attempt:1,authent:0,avail:[0,2],awar:1,back:1,backend:1,bat:1,been:0,best:0,brew:1,bring:1,browser:1,build:1,builder:1,cach:0,cache_config:1,can:[0,1,2],caravel:0,caravel_config:1,caravel_webserver_port:1,certain:2,cflag:1,chart:2,cluster:1,collect:2,come:[1,2],command:1,compli:1,config:1,configur:0,connect:1,constant:1,consult:1,control:0,copi:1,creat:[0,1,2],creation:0,credenti:1,cryptographi:1,csrf:1,csrf_enabl:1,css:0,current:1,custom:0,dashboard:[0,1],data:[0,1,2],databas:[0,1],dataset:[0,2],datasourc:1,debian:1,debug:1,deep:0,defin:[0,1],demonstr:2,depend:0,deriv:[1,2],dev:1,devel:1,develop:1,differ:2,dimens:2,directli:1,displai:0,document:1,done:1,down:0,drop:0,druid:0,dynam:2,easi:1,encount:1,encrypt:1,ensur:1,enter:1,enterpris:0,env:1,error:1,essenti:1,exist:2,explor:[1,2],expos:2,express:0,extens:0,fabmanag:1,fall:1,fedora:1,few:1,field:0,file:1,filesystem:1,filter:0,flag:1,flask:[0,1],follow:1,framework:1,from:[0,1,2],gcc:1,get:0,global:1,goe:1,granular:0,guid:0,here:1,high:[0,2],hit:1,hostnam:1,how:[0,1,2],http:1,immun:2,includ:1,index:0,individu:0,inform:1,init:1,initi:0,instal:0,integr:0,intric:0,intro:0,isn:1,item:1,kei:1,languag:2,layer:0,ldap:0,ldflag:1,level:[1,2],lib:1,libffi:1,librari:[0,1],libssl:1,load:1,load_exampl:1,local:1,localhost:1,login:1,made:0,mai:1,major:0,make:1,manag:1,march:0,markdown:2,memcach:1,memori:1,menu:1,metadata:1,metric:[0,2],mode:1,model:0,modul:[0,1],more:1,most:0,multipl:1,name:0,navig:[1,2],need:1,next:1,note:1,oauth:0,offici:1,onc:1,onli:1,openid:0,openssl:1,osx:1,other:2,own:2,page:0,panoramix:0,paramet:1,password:1,past:1,path:1,permiss:[0,1],pip:1,pkg:1,plai:1,pleas:1,point:1,popul:1,port:1,prefix:1,project:0,provid:[0,1],purpos:1,python:1,pythonpath:1,quick:0,rdbm:0,readi:0,redi:1,refresh:1,remote_us:0,renam:0,requir:1,rhel:1,rich:0,right:1,roadmap:1,role:1,row_limit:1,rule:0,run:1,runserv:1,search:0,searchpath:1,secret:1,secret_kei:1,secur:0,semant:[0,2],server:1,set:[0,1],share:0,should:[0,1],show:[0,1,2],sign:1,simpl:[0,1,2],simplecach:1,slice:[0,1],some:[0,1],soon:2,sourc:[0,1],specif:1,specifix:1,sql:0,sqlalchemi:[0,1],sqlalchemy_database_uri:1,sqlite:1,start:0,step:1,store:1,string:1,sudo:1,support:1,sure:1,templat:2,test:1,thei:1,them:[1,2],theme:0,thi:[0,1,2],through:[0,2],timeout:1,tmp:1,toggl:2,ubuntu:1,ultim:1,unfortun:1,upgrad:1,user:[0,1],vcvarsal:1,video:2,view:2,visual:0,walk:2,walkthrough:2,want:1,web:1,webserver_thread:1,where:1,whether:1,which:0,who:0,widget:2,window:1,won:1,work:2,wtf:1,x86_amd64:1,you:[1,2],your:[1,2],yum:1},titles:["Overview","Installation &amp; Configuration","User Guide"],titleterms:{annot:2,cach:1,caravel:1,configur:1,content:0,creation:2,css:2,custom:2,dashboard:2,defin:2,depend:1,druid:1,express:2,featur:0,filter:2,get:1,guid:2,indic:0,initi:1,instal:1,intro:2,overview:0,quick:2,slice:2,sql:2,start:1,tabl:[0,2],theme:2,user:2}})