open-y-subprojects / openy_campaign_theme
作为子主题建立在 Open Y Rose 主题之上。
1.0
2021-07-22 10:07 UTC
Requires
README
更多信息请见 https://github.com/open-y-subprojects/openy_campaign
维护此主题。
- 安装 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
- 安装 bundler
sudo gem install bundler
- 进入主题文件夹
bundle install
如果看到类似这样的错误 tmpdir': could not find a temporary directory (ArgumentError)
,请运行命令 chmod o+t /tmp
并再次尝试。
- 要编译 CSS,请使用
bundler exec compass compile
- Compass 监视更改
bundler exec compass watch --poll