「利用者・トーク:Eibriel/BAMtest」の版間の差分

提供: wiki
移動先: 案内検索
(issue while repeating similar setup on windows)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 06:14時点における最新版

Hi, I am trying to repeat similar setup on windows. requirements.txt file shows a dependency on gnureadline which is not for windows. i changed file with pyreadline and install. it worked fine. one question, i would like to ask is,could you please explain sqlalchemy_database_uri parameter slightly more detail.

class Config:

   DEBUG = True

class Development(Config):

   STORAGE_BUNDLES = '/tmp/bam_storage_bundles'
   ALLOWED_EXTENSIONS = {'txt', 'mp4', 'png', 'jpg', 'jpeg', 'gif', 'blend', 'zip'}
   SQLALCHEMY_DATABASE_URI = 'database://username:password@server/db'

i tried tweaking last line like below (after creating an empty db file) SQLALCHEMY_DATABASE_URI = 'D://bamProject/blender-asset-manager/sample.db'

any ideas, how to precisely define db file , do i need to write sqlite://// first or not.? thanks in advance