前提
- Plone 5 が導入済み
- gitがインストール済み
インストール・設定
mr.developer
複数のパッケージをまとめてチェックアウトなどをしてくれる仕組み
buildout.cfg を編集(以下2箇所)
buildout.cfg
[buildout]
extensions = mr.developer
auto-checkout =
plone.app.locales
plone.app.event
plone.app.dexterity
plone.dexterity
buildout.cfg
[sources]
plone.app.locales = git https://github.com/plonejp/plone.app.locales.git
plone.app.event = git https://github.com/plonejp/plone.app.event.git
plone.app.dexterity = git https://github.com/plonejp/plone.app.dexterity.git
plone.dexterity = git https://github.com/plonejp/plone.dexterity.git
buildoutの実行
$ ./bin/buildout -N
確認方法
- srcフォルダに必要なパッケージがあるか?
- bin/instance の中を見て、該当パッケージが src以下から読まれているか?
翻訳関係の設定確認
起動時にpoファイルをmoファイルにコンパイルするか?
以下のように設定されていば問題なし。(Plone5a2では自動的にmoファイルを作成するように設定されていました)
base.cfg
environment-vars =
zope_i18n_compile_mo_files true
githubから最新のPloneで試す場合
以下のエントリーを参照して下さい。
http://qiita.com/terapyon/items/905dbe19bc4a00b9aa7e