|
|
# README
|
|
|
|
|
|
This README would normally document whatever steps are necessary to get the
|
|
|
application up and running.
|
|
|
|
|
|
Things you may want to cover:
|
|
|
|
|
|
* Ruby version
|
|
|
|
|
|
* System dependencies
|
|
|
|
|
|
* Configuration
|
|
|
|
|
|
* Database creation
|
|
|
|
|
|
* Database initialization
|
|
|
|
|
|
* How to run the test suite
|
|
|
|
|
|
* Services (job queues, cache servers, search engines, etc.)
|
|
|
|
|
|
* Deployment instructions
|
|
|
|
|
|
* ...
|
|
|
#### Jbuilder介绍
|
|
|
Jbuilder: https://github.com/rails/jbuilder
|
|
|
|
|
|
#### Rails5 介绍
|
|
|
rails guide: https://ruby-china.github.io/rails-guides/v5.0/
|
|
|
|
|
|
#### API设计文档
|
|
|
doc for api: https://www.showdoc.cc/web/#/127895880302646?page_id=729221359592009
|
|
|
user:Hjqreturn PW:12345678
|
|
|
|
|
|
#### 测试版访问地址:https://testeduplus2.educoder.net
|
|
|
|
|
|
#### 实训平台繁忙
|
|
|
仓库异常:繁忙等级(81)
|
|
|
|
|
|
#### 新版域名跳转规则
|
|
|
新版域名要求总结:testeduplus2.educoder.net/(主要提供实训、实训课堂等业务)
|
|
|
目前有两个域名testbdweb.educoder.net(老版:主要提供课堂、项目、个人主页、后台等服务)
|
|
|
|
|
|
要求:
|
|
|
1、两服务域名都应该启动‘提供服务
|
|
|
|
|
|
2、如果请求链接包含以下的形式,则域名跳至testeduplus2.educoder.net
|
|
|
testeduplus2.educoder.net/shixuns
|
|
|
testeduplus2.educoder.net/shixuns/*
|
|
|
testeduplus2.educoder.net/paths
|
|
|
testeduplus2.educoder.net/paths/*
|
|
|
testeduplus2.educoder.net/myshixuns/
|
|
|
testeduplus2.educoder.net/tasks/*
|
|
|
testeduplus2.educoder.net/games/*
|
|
|
|
|
|
如果不满足上述需求的,域名全部跳转至testbdweb.educoder.net
|
|
|
比如:门户首页,如果访问:testeduplus2.educoder.net 应为没包含上述链接。则调制testbdweb.educoder.net
|
|
|
在比如:testeduplus2.educoder.net /users/Hjqreturn没包含上述规则,则跳转到testbdweb.educoder.net/users/Hjqreturn
|
|
|
|
|
|
|
|
|
# 需要重构user_extensions 相关sql语句的地方标记 REDO:Extention
|
|
|
|
|
|
# 文件上传:ActiveStorage
|
|
|
# 新能:bootsnap
|
|
|
|
|
|
# 注意事项:
|
|
|
# 第一次部署需要执行一些rake任务
|
|
|
# 配置redis地址
|
|
|
# 配置gitlab/intializers/gitlab_config.yml |