瀏覽代碼

Use local

Bob Mottram 11 年之前
父節點
當前提交
84361729f2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      beaglebone.txt

+ 2
- 1
beaglebone.txt 查看文件

@@ -6577,7 +6577,7 @@ Add the following, replacing /mymediagoblindomain/ with your mediagoblin domain
6577 6577
 from paste.deploy import loadapp
6578 6578
 from flup.server.fcgi import WSGIServer
6579 6579
 
6580
-CONFIG_PATH = '/srv/mymediagoblindomain/mediagoblin/paste.ini'
6580
+CONFIG_PATH = '/srv/mymediagoblindomain/mediagoblin/paste_local.ini'
6581 6581
 
6582 6582
 ## Uncomment this to run celery in "always eager" mode... ie, you don't have
6583 6583
 ## to run a separate process, but submissions wait till processing finishes
@@ -6596,6 +6596,7 @@ if __name__ == '__main__':
6596 6596
 Save and exit, then edit the Apache configuration for your mediagoblin site.
6597 6597
 
6598 6598
 #+BEGIN_SRC: bash
6599
+chown -hR mediagoblin:mediagoblin /srv/$HOSTNAME
6599 6600
 emacs /etc/apache2/sites-available/mymediagoblindomain
6600 6601
 #+END_SRC
6601 6602