v2gba
V2EX  ›  问与答

你们的博客都是如何更新程序和管理源码的?

  •  
  •   v2gba · Aug 26, 2014 · 3251 views
    This topic created in 4456 days ago, the information mentioned may be changed or developed.
    标题讲不清楚,
    我想表达的是,
    如果做到安全开源博客的源码,并且方便更新自己的博客?

    是否是github公开的repo,然后本机这边修改后push过去,服务器那边在拉下来.
    这样的话,github内如果隐去一些配置信息?

    @Ricter 似乎你的博客源码就是扔在公开repo里的?
    6 replies  •  2014-08-26 17:37:20 +08:00
    RIcter
    RIcter
    Aug 26, 2014 via iPhone❤️1
    1
    我有个localsettings..
    RIcter
    RIcter
    Aug 26, 2014 via iPhone
    2
    然后加在.gitignore里
    wolong
    wolong
    Aug 26, 2014
    3
    自己的项目直接在本地更新就行了。
    582033
    582033
    Aug 26, 2014
    4
    git push到自己家里内网的树莓派上
    orvice
    orvice
    Aug 26, 2014
    5
    比如这样?
    lib/config.php
    lib/config-sample.php

    然后再.gitignore添加lib/config.php
    v2gba
    v2gba
    OP
    Aug 26, 2014
    6
    @orvice 恩 应该是和ricter一个思路.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1622 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 10:46 · PVG 18:46 · LAX 02:46 · JFK 05:46
    ♥ Do have faith in what you're doing.