open-y-subprojects/openy_campaign_theme

作为子主题建立在 Open Y Rose 主题之上。

安装: 0

依赖: 0

建议者: 0

安全: 0

星星: 0

关注者: 0

分支: 0

开放问题: 0

语言:Twig

类型:drupal-theme

1.0 2021-07-22 10:07 UTC

This package is auto-updated.

Last update: 2024-09-22 17:17:22 UTC


README

更多信息请见 https://github.com/open-y-subprojects/openy_campaign

维护此主题。

  1. 安装 Ruby 2.2.5

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

curl -sSL https://get.rvm.io | bash -s stable

要开始使用 RVM,需要运行 source ~/.rvm/scripts/rvm

如果仍然无效,请重新启动 sh 客户端。

rvm install ruby-2.2.5

设置为默认 Ruby

rvm --default use 2.2.5

  1. 安装 bundler

sudo gem install bundler

  1. 进入主题文件夹

bundle install

如果看到类似这样的错误 tmpdir': could not find a temporary directory (ArgumentError),请运行命令 chmod o+t /tmp 并再次尝试。

  1. 要编译 CSS,请使用

bundler exec compass compile

  1. Compass 监视更改

bundler exec compass watch --poll