摘要: 来,开始从头创建一个仓库: 先创建一个文件夹 test_repo mkdir -p test_repo && cd test_repo 创建一个conf文件夹,此文件夹存放仓库的配置信息 mkdir -p conf && cd conf 开始写仓库配置信息 vim distributions 文件内 阅读全文
posted @ 2020-12-16 16:09 大长胡子 阅读(1691) 评论(0) 推荐(0) 编辑
摘要: 路由 接下来给第一章的小例子增加一点东西: @app.route('/apple') def apple(): return 'This is appple' @app.route('/orange/') def orange(): return 'This is orange' 这样的形式,可以通 阅读全文
posted @ 2020-12-16 10:13 大长胡子 阅读(69) 评论(0) 推荐(0) 编辑