1 Star 1 Fork 1

work-design / engine

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Loading...
README.md

Rails Engine 组件

组件列表

新增一个组件

  1. 在 .gitmodules 加入配置信息,如:
[submodule "rails_xxx"]
  path = rails_xxx
  url = git@github.com:work-design/rails_xxx.git
  1. git submodule init rails_xxx
  2. git submodule update rails_xxx
  3. 进入 rails_xxx, 执行 git checkout master

使用

更新子模块(engine)

  • 第一次初始化项目
git submodule update --init
  • 后续更新项目
git pull
git submodule update --rebase(或--merge) 
  • 更新每个engine(子项目)
git submodule update --init --recursive
git submodule update --rebase --recursive

engine 加载顺序

在gemfile靠后的engine的model常量会先加载;

About

Work Design 组件列表 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/work-design/engine.git
git@gitee.com:work-design/engine.git
work-design
engine
engine
main

Search