Commit c8f95a52 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

init dev_tutorial.rst

parent 25eaed68
Loading
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
开发指南(中文版)
=================


关于代码仓库的规划
-----------------------

CSST数据系统的所有代码都在 gitlab上:

    - 1级流水线: https://csst-tb.bao.ac.cn/code/csst-l1
        - msc: 主巡天
        - mbi: 主巡天多色成像
        - sls: 主巡天无缝光谱
        - ast: 主巡天天梯测量
        - mci: 多通道成像仪
        - ifs: 积分场光谱仪
        - cpic: 星冕仪
        - hstdm: 太赫兹模块
        - ooc: 在轨定标
        - csst-doc: 流水线文档
        - csst-proto: 流水线演示模块
    - 2级流水线: https://csst-tb.bao.ac.cn/code/csst-l2
    - 高级流水线: https://csst-tb.bao.ac.cn/code/csst-l3

----

    - 0/1/2级数据定义: https://csst-tb.bao.ac.cn/code/csst-l1/csst_dadel
    - 算法API定义: https://csst-tb.bao.ac.cn/code/csst-l1/csst_design




精简版开发指南(关于 ``git``)
------------------------------

需要学会的常用命令(Linux/MacOS命令行)

    - ``git clone <url>`` 从 ``url`` 下载仓库代码到本地
    - ``git branch dev`` 新建 dev 分支(如果不存在)
    - ``git checkout dev`` 检录(切换到) dev 分支
    - ``git add ./changes.py`` 将 ``changes.py`` 加入 git 记录
    - ``git commit -m "add changes.py"`` 提交更新
    - ``git push`` 提交更新
    - 发起 ``merge request``