使用 Docker,一个简单的部署 Discourse的向导

・1 分钟阅读

  • 源代码名称: discourse-droplet
  • 源代码网址: https://www.github.com/eviltrout/discourse-droplet
  • discourse-droplet的文档
  • discourse-droplet的源代码下载
  • Git URL:
    git://www.github.com/eviltrout/discourse-droplet.git
  • Git Clone代码到本地:
    git clone https://www.github.com/eviltrout/discourse-droplet
  • Subversion代码到本地:
    $ svn co --depth empty https://www.github.com/eviltrout/discourse-droplet
                              Checked out revision 1.
                              $ cd repo
                              $ svn up trunk
              
  • 语滴

    简单的使用向导,在Digital Ocean上安装 Discourse的ruby 脚本。

    用法
    
    
    
    
    $ bundle install
    
    
    $ ruby deploy.rb
    
    
    
    

    然后,你可以像这样浏览向导:

    
    
    
    
    Your Digital Ocean Client id:
    
    
    YOUR_CLIENT_ID
    
    
    
    Your Digital Ocean API Key:
    
    
    YOUR_API_KEY
    
    
    
    Your developer email address:
    
    
    your.email@provider.com
    
    
    
    Host of Discourse forum (example: eviltrout.com)
    
    
    awesomeforum.com
    
    
    
    Confirm Your Settings
    
    
    =====================
    
    
    Host: awesomeforum.com
    
    
    Email: asdf@.asdf.com
    
    
    SSH Key: Evil Trout
    
    
    
    Type 'Y' to continue
    
    
    Y
    
    
    
    ... a bunch of crazy output.. .
    
    
    
    Discourse is ready to use:
    
    
    http://awesomeforum.com
    
    
    http://192.168.0.1 (the IP of your Droplet)
    
    
    
    
    

    太简单了!

    对于升级指令,请查看 discourse_docker

    有关配置 Discourse的详细信息,请参阅 Discourse

    许可证

    MIT

    讨论
    Fansisi profile image