Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
3 years ago | |
|---|---|---|
| app | 3 years ago | |
| bin | 6 years ago | |
| cable | 6 years ago | |
| config | 3 years ago | |
| db | 3 years ago | |
| docs/figs | 5 years ago | |
| lib | 4 years ago | |
| public | 3 years ago | |
| spec | 3 years ago | |
| test | 6 years ago | |
| tmp | 6 years ago | |
| vendor | 6 years ago | |
| warn | 6 years ago | |
| .gitignore | 4 years ago | |
| .rspec | 6 years ago | |
| .trustie-pipeline.yml | 5 years ago | |
| CHANGELOG.md | 4 years ago | |
| Gemfile | 3 years ago | |
| Gemfile.lock | 4 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| Rakefile | 6 years ago | |
| api_document.md | 4 years ago | |
| bootstrap-datetimepicker.css | 6 years ago | |
| build_api_docs.sh | 5 years ago | |
| config.ru | 6 years ago | |
| deploy.md | 5 years ago | |
| deployment.md | 5 years ago | |
| dir.md | 4 years ago | |
| docker-compose.yml | 6 years ago | |
| dump.rdb | 6 years ago | |
Trustie (确实)是一个以大众化协同开发、开放式资源共享、持续性可信评估为核心机理,面向高校创新实践的在线协作平台。
软件创作与生产深度融合的软件开发环境体系结构 软件自由创作和工程生产的高效衔接,适于软件开发中群体智慧的有效汇聚。
构件化协同开发环境的可扩展运行框架多样化工具的集成和联动,形成了强动态扩展能力的平台框架。
“互联网即资源库”的全新软件复用模式 成长式软件资源管理系统,实现了分散资源的知识融合、资源的可持续增长和有效复用。
Ruby 2.4.5
Rails ~> 5.2
MySql ~> 5.6
Redis 5+
imagemagick
git clone -b standalone https://git.trustie.net/jasder/forgeplus.git
cd forgeplus && bundle install
进入项目根目录执行一下命令:
cp config/configuration.yml.example config/configuration.yml
cp config/database.yml.example config/database.yml
touch config/redis.yml
touch config/elasticsearch.yml
数据库配置信息请查看/config/database.yml文件,
项目默认采用mysql数据库, 如需更改,请自行修改配置信息,
默认配置如下:
default: &default
adapter: mysql2
host: 127.0.0.1
encoding: utf8
username: root
password: 123456
如需要部署自己的gitea平台,请参考gitea官方平台:https://docs.gitea.io/zh-cn/install-from-binary/
因目前gitea平台api受限,暂时推荐从forge平台获取gitea部署文件进行部署:https://forgeplus.trustie.net/projects/Trustie/gitea-binary
配置gitea服务步骤
gitea:
access_key_id: 'root'
access_key_secret: 'password'
domain: 'http://www.gitea.example.com'
base_url: '/api/v1'
请自行搜索各平台如何安装部署redis环境
brew install imagemagick ghostscript
sudo apt-get install -y imagemagick
开发环境为development, 生成环境为production
rails db:create RAILS_ENV=development
bundle exec rake sync_table_structure:import_csv
开发环境为development, 生成环境为production
rails db:migrate RAILS_ENV=development
将前端代码克隆到public/react目录下,目录结构应该是: public/react/build
git clone -b standalone https://git.trustie.net/jasder/build.git
redis-server&
开发环境为development, 生成环境为production
bundle exec sidekiq -C config/sidekiq.yml -e production -d
rails s
在浏览器中输入如下地址访问:
http://localhost:3000/
通过页面注册都第一个用户为平台管理员用户
GitLink(确实开源)是中国计算机学会CCF官方指定的开源创新服务平台
JavaScript CSS SVG SQL Ruby other