LoginSignup
2
2

More than 5 years have passed since last update.

CKAN でdebug=true にすると AttributeError が出る時の対処

Posted at

確認バージョンは CKAN 2.4.2。

に答えがあった。

nodejs と npm をインストール

sudo yum install nodejs npm

CKAN のフォルダに移動し、less と nodewatch をインストール

npm install less@1.7.5 nodewatch

less を実行すると、main.debug.css が生成される

$ bin/less
Watching /var/local/ckan/default/pyenv/src/ckan/ckan/public/base/less
[2015-10-27 00:28:08] recompiled main.debug.css in 2027ms

所定のフォルダに debug.main.css が生成されるので、サービスを再起動すればOK

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2