Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring Docker, understanding cos and docker related operations #499

Open
bestfw opened this issue Aug 28, 2023 · 3 comments
Open

Configuring Docker, understanding cos and docker related operations #499

bestfw opened this issue Aug 28, 2023 · 3 comments
Assignees

Comments

@bestfw
Copy link
Contributor

bestfw commented Aug 28, 2023

  1. Download COSbrowser (Please ask Senbo Xu or Xinning Zhu for COS key to log in).
@bestfw bestfw converted this from a draft issue Aug 28, 2023
@bestfw
Copy link
Contributor Author

bestfw commented Sep 2, 2023

  1. Download an IDE, the recommendation is to choose Vscode.
  2. To learn how to use github, such as fork, pull, how to commit, how to create pull request.

@bestfw
Copy link
Contributor Author

bestfw commented Sep 3, 2023

Markdown to ipynb

  1. 安装notedown工具转化(https://github.com/aaren/notedown )阅读readme
  2. 先把所有```{note}之类的非代码特殊内容块换成:::{note}
  3. 静态资源都换成从cos获取
  4. iframe要用IPython
  5. 最后全部执行保留cell执行结果,再发PR
  6. 添加 install dependency cell
  7. 在文件开头添加fontformatter的一个markdown cell
  8. 注意原来的cell tag都要保留,主要的有hide-input, hide-cell, output_scroll
  9. 相对文件路径都换成绝对文件路径,比如指向作业的那些

流程:
1.安装anaconda,能够使用jupyter lab打开本地文件
2.Fork Ocademy-ai/machine-learning main库至自己账号的库
3.在自己库中基于main分支创建一个分支(如:python-trans)用于完成转化任务
4.clone自己的库至本地,并本地创建分支(python-trans 只需要名字和网页上创建的分支名一致即可)
5.在库根目录使用jupyter lab命令打开jupyter lab
6.找到需要转化的md文件,根据上述9点对md文件进行修改,修改完成后进行转化
7.保存修改的文件,使用github指令向自己库创建的分支提交commit
8.创建并提交PR,然后在群里@徐森博进行PR的审查

@bestfw
Copy link
Contributor Author

bestfw commented Sep 6, 2023

Image

Make sure the branch is create from main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

7 participants