Go to file
jasder 2f140d13f0 Merge pull request '用户可以查看其他用户的构建列表' (#10) from trustie_server into develop
Reviewed-on: https://git.trustie.net/jasder/forgeplus/pulls/10
2021-01-06 18:50:31 +08:00
app Merge pull request '用户可以查看其他用户的构建列表' (#10) from trustie_server into develop 2021-01-06 18:50:31 +08:00
bin ADD action cable for migrate project 2020-07-02 15:49:22 +08:00
cable ADD action cable for migrate project 2020-07-02 15:49:22 +08:00
config 增加trustie提供服务器流程。 2020-12-18 13:14:30 +08:00
db FIX init db structrue and add records of roles 2020-12-30 15:00:15 +08:00
docs/figs smaller size of fig issue_assign 2020-10-14 10:35:33 +08:00
lib FIX merge develop branch 2020-11-27 11:00:37 +08:00
public ADD MuLan licenses 2020-12-30 15:05:07 +08:00
spec ADD protected branch Features 2020-12-03 15:24:40 +08:00
test init project 2020-03-09 00:40:16 +08:00
tmp init project 2020-03-09 00:40:16 +08:00
vendor init project 2020-03-09 00:40:16 +08:00
warn init project 2020-03-09 00:40:16 +08:00
.gitignore add ignore 2020-07-16 12:00:50 +08:00
.merge_file_a17580 init project 2020-03-09 00:40:16 +08:00
.rspec ADD sync trustie data 2020-03-19 17:17:27 +08:00
.trustie-pipeline.yml 更新 '.trustie-pipeline.yml' 2020-11-30 17:23:19 +08:00
Gemfile Update ruby version to 2.4.5 2020-11-30 10:27:49 +08:00
Gemfile.lock Update ruby version to 2.4.5 2020-11-30 10:27:49 +08:00
LICENSE LICENSE 2020-03-09 00:37:27 +08:00
README.md Update README.md 2020-12-24 10:00:39 +08:00
Rakefile init project 2020-03-09 00:40:16 +08:00
api_document.md Upate README.md 2020-12-04 18:15:19 +08:00
bootstrap-datetimepicker.css init project 2020-03-09 00:40:16 +08:00
config.ru init project 2020-03-09 00:40:16 +08:00
deploy.md FIX bug 2020-12-28 13:44:03 +08:00
deployment.md upate readme 2020-10-13 16:29:49 +08:00
docker-compose.yml init project 2020-03-09 00:40:16 +08:00
dump.rdb change bug 2020-06-18 11:11:17 +08:00

README.md

Trustie (确实)是一个以大众化协同开发、开放式资源共享、持续性可信评估为核心机理,面向高校创新实践的在线协作平台。

特性

  • 软件创作与生产深度融合的软件开发环境体系结构 软件自由创作和工程生产的高效衔接,适于软件开发中群体智慧的有效汇聚。

  • 构件化协同开发环境的可扩展运行框架多样化工具的集成和联动,形成了强动态扩展能力的平台框架。

  • “互联网即资源库”的全新软件复用模式 成长式软件资源管理系统,实现了分散资源的知识融合、资源的可持续增长和有效复用。

部署

1. 安装依赖包

bundle install

2. 配置初始化文件

进入项目根目录执行一下命令:

cp config/configuration.yml.example config/configuration.yml
cp config/database.yml.example config/database.yml
touch config/redis.yml
touch config/elasticsearch.yml

3. 配置gitea服务(可选)

如需要部署自己的gitea平台请参考gitea官方平台https://docs.gitea.io/zh-cn/install-from-binary/

**因目前gitea平台api受限暂时推荐从forge平台获取gitea部署文件进行部署https://forgeplus.trustie.net/projects/jasder/gitea-binary

配置gitea服务步骤

  1. 部署gitea服务并注册root账户
  2. 修改forge平台的 config/configuration.yml中的gitea服务指向地址
gitea:
  access_key_id: 'root'
  access_key_secret: 'password'
  domain: 'http://www.gitea.example.com'
  base_url: '/api/v1'

4. 安装redis环境

请自行搜索各平台如何安装部署redis环境

5. 创建数据库

rails db:create

6. 导入数据表结构

bundle exec rake sync_table_structure:import_csv

7. 执行migrate迁移文件

开发环境为development 生成环境为production

rails db:migrate RAILS_ENV=development

8. 启动redis(此处已mac系统为例)

redis-server&

9. 启动sidekiq

开发环境为development 生成环境为production

bundle exec sidekiq -C config/sidekiq.yml -e production -d

10. 启动rails服务

rails s

11. 浏览器访问

在浏览器中输入如下地址访问:

http://localhost:3000/

页面展示

  • 代码库

  • 任务管理

  • 任务查看

  • 任务指派

  • 里程碑

API

贡献代码

  1. Fork 项目
  2. 创建本地分支(git checkout -b my-new-feature)
  3. 提交更改 (git commit -am 'Add some feature')
  4. 推送到分支 (git push origin my-new-feature)
  5. 向源项目的 develop 分支发起 Pull Request

License