fabfile.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:fluiddb 作者: fluidinfo 项目源码 文件源码
def configure_web_server():
    """
    Makes sure that the newly uploaded deployment is linked to the right
    place in the filesystem and the webserver restarts.
    """
    require('hosts', provided_by=[live])
    run('rm -rf /var/www/%(sitename)s' % env)
    run('ln -s /var/www/%(path)s /var/www/%(sitename)s' % env)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号