douban / code

[DEPRECATED]Douban CODE

Home Page:http://douban-code.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when you create a repository,the repostitory url without ":"

freemantjp opened this issue · comments

commented

Create a new repository on the command line

    touch README.md
    git init
    git add README.md
    git commit -m "first commit"
    git remote add origin http://10.7.10.238max/testcode.git
    git push -u origin master

Push an existing repository from the command line

    git remote add origin http://10.7.10.238max/testcode.git
    git push -u origin master

the ture repostitory url is
git remote add origin http://10.7.10.238:max/testcode.git

@freemantjp 你自定义的config.py的DOMAIN 怎么写的?

@xtao 通过这个pr发现一个逻辑问题, 新创建的项目${project.repo_http_url}, 在models里面域名使用config.py里的DOMAIN:

  1. 当用户不了解DOMAIN用法改错了,就如题这样显示错了.
  2. 当用户设置了正确的DOMAIN,但是由于很多原因url没有用这个, 还是显示错误

我觉得repo_http_url是根据创建时,当前用户访问的页面的地址决定的

commented

@dongweiming 如果使用80,domain,必须定义http://10.7.10.238:80 ,我以为80就不要写端口了,就直接写的ip,结果repostitory url without ":"

@dongweiming 我来改吧~
需要检查一下domain,我认为还是配置好一点。