python:moinmoin

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:moinmoin [2019/09/13 11:47] – [ApacheBench してみる] ともやんpython:moinmoin [2021/07/05 02:40] (現在) ともやん
行 1: 行 1:
-<html> 
-  <style> 
-    #result pre { 
-      height: 200px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-    } 
-  </style> 
-</html> 
 ====== MoinMoin ====== ====== MoinMoin ======
-{{:python:moinmoin_logo.png?100|MoinMoin Logo}}\\+{{python:moinmoin_logo.png?100|MoinMoin Logo}}\\
 \\ \\
 本家: [[https://moinmo.in/|MoinMoinWiki - MoinMoin]]\\ 本家: [[https://moinmo.in/|MoinMoinWiki - MoinMoin]]\\
行 25: 行 16:
 [[https://github.com/moinwiki/moin|GitHub - moinwiki/moin: MoinMoin Wiki Development (2.0+)]] より、ソースコードをダウンロードする。\\ [[https://github.com/moinwiki/moin|GitHub - moinwiki/moin: MoinMoin Wiki Development (2.0+)]] より、ソースコードをダウンロードする。\\
 <code> <code>
-git clone https://github.com/moinwiki/moin.git+git clone --depth 1 https://github.com/moinwiki/moin.git
 </code> </code>
  
 ==== quickinstall.py を venv を利用するようにハックする ==== ==== quickinstall.py を venv を利用するようにハックする ====
 GitHub からダウンロードした **quickinstall.py** をリネームする。\\ GitHub からダウンロードした **quickinstall.py** をリネームする。\\
 +
 **Linux**\\ **Linux**\\
 +<WRAP prewrap 100%>
 <code> <code>
 $ cd moin $ cd moin
 $ mv quickinstall.py quickinstall.py.org $ mv quickinstall.py quickinstall.py.org
 </code> </code>
 +</WRAP>
 +
 **Windows**\\ **Windows**\\
 +<WRAP prewrap 100%>
 <code> <code>
 > cd moin > cd moin
 > ren quickinstall.py quickinstall.py.org > ren quickinstall.py quickinstall.py.org
 </code> </code>
 +</WRAP>
 +
 以下の **quickinstall.py** を **moin** ディレクトリにダウンロードする。(**quickinstall.py** を差し替える)\\ 以下の **quickinstall.py** を **moin** ディレクトリにダウンロードする。(**quickinstall.py** を差し替える)\\
 +<WRAP prewrap 100%>
 <code> <code>
 $ curl -O https://www.tomoyan.net/_media/python/quickinstall.py $ curl -O https://www.tomoyan.net/_media/python/quickinstall.py
 $ chmod 775 quickinstall.py $ chmod 775 quickinstall.py
 </code> </code>
-<WRAP prewrap 100% #result>+</WRAP> 
 +<WRAP prewrap 100% mincode_long>
 <file python moin/quickinstall.py> <file python moin/quickinstall.py>
 #!/usr/bin/python #!/usr/bin/python
行 777: 行 777:
 ==== インストール ==== ==== インストール ====
 **quickinstall.py** を実行する。\\ **quickinstall.py** を実行する。\\
 +
 **Linux**\\ **Linux**\\
 +<WRAP prewrap 100%>
 <code> <code>
 $ python3 quickinstall.py $ python3 quickinstall.py
 </code> </code>
-<WRAP prewrap 100% #result>+</WRAP> 
 +<WRAP prewrap 100% result>
 <code> <code>
 Running quickinstall.py... output messages redirected to m-quickinstall.txt Running quickinstall.py... output messages redirected to m-quickinstall.txt
行 794: 行 797:
 </code> </code>
 </WRAP> </WRAP>
 +
 **Windows**\\ **Windows**\\
 +<WRAP prewrap 100%>
 <code> <code>
-python quickinstall.py+python3 quickinstall.py
 </code> </code>
-<WRAP prewrap 100% #result>+</WRAP> 
 +<WRAP prewrap 100% result>
 <code> <code>
 +Running quickinstall.py... output messages redirected to m-quickinstall.txt
 +
 Searching m-quickinstall.txt, important messages are shown below... Do "m log quickinstall" to see complete log. Searching m-quickinstall.txt, important messages are shown below... Do "m log quickinstall" to see complete log.
  
-83       Successfully uninstalled setuptools-40.8.0 +139 Successfully installed Babel-2.9.Flask-1.1.Flask-Babel-2.0.Flask-Caching-1.10.Flask-Script-2.0.6 Flask-Theme-0.3.Jinja2-2.11.Markdown-3.3.MarkupSafe-2.0.1 Werkzeug-1.0.XStatic-1.0.2 XStatic-AnyWikiDraw-0.14.2 XStatic-Bootstrap-3.1.1.2 XStatic-CKEditor-3.6.4.0 XStatic-Font-Awesome-4.7.0.0 XStatic-JQuery.TableSorter-2.14.5.XStatic-Pygments-2.9.0.1 XStatic-TWikiDraw-moin-2004.10.23.2 XStatic-autosize-1.17.2.1 XStatic-jQuery-3.5.1.1 XStatic-jQuery-File-Upload-10.31.0.1 XStatic-svg-edit-moin-2012.11.27.1 blinker-1.4 chardet-4.0.click-7.1.2 docutils-0.17.emeraldtree-0.10.0 feedgen-0.9.0 flatland-0.9.1 greenlet-1.1.0 itsdangerous-1.1.0 lxml-4.6.3 moin passlib-1.7.pdfminer3-2018.12.3.0 pycryptodome-3.10.pygments-2.9.0 python-dateutil-2.8.1 pytz-2021.1 six-1.16.0 sortedcontainers-2.4.0 sqlalchemy-1.4.17 whoosh-2.7.4 
-119 Successfully installed Babel-2.7.Flask-1.1.Flask-Babel-0.12.2 Flask-Caching-1.7.Flask-Script-2.0.6 Flask-Theme-0.3.Jinja2-2.10.Markdown-3.1.MarkupSafe-1.1.1 Werkzeug-0.15.6 XStatic-1.0.2 XStatic-AnyWikiDraw-0.14.2 XStatic-Bootstrap-3.1.1.2 XStatic-CKEditor-3.6.4.0 XStatic-Font-Awesome-4.7.0.0 XStatic-JQuery.TableSorter-2.14.5.XStatic-Pygments-2.2.0.1 XStatic-TWikiDraw-moin-2004.10.23.2 XStatic-autosize-1.17.2.1 XStatic-jQuery-3.3.1.1 XStatic-jQuery-File-Upload-4.4.XStatic-svg-edit-moin-2012.11.27.1 blinker-1.4 chardet-3.0.click-7.docutils-0.15.emeraldtree-0.10.0 flatland-0.9.1 itsdangerous-1.1.0 moin passlib-1.7.pdfminer3-2018.12.3.0 pycryptodome-3.9.pygments-2.4.2 pytz-2019.2 setuptools-41.2.six-1.12.0 sortedcontainers-2.1.0 whoosh-2.7.4 +143 c:\my_projects\moin\.eggs\setuptools_scm-6.0.1-py3.9.egg\setuptools_scm\git.py:88: UserWarning: "C:\My_Projects\moin" is shallow and may cause errors 
-131 Successfully created or updated venv at C:\My_Projects\moin-venv-python+144   warnings.warn(f'"{wd.path}" is shallow and may cause errors'
 +154 Successfully created or updated venv at C:\My_Projects\moin-venv-python 
 +Quickinstall run time (h:mm:ss) 0:02:47 
 + 
 +> > > Type "activate" to activate venv, then "m" for menu < < <
 </code> </code>
 </WRAP> </WRAP>
行 817: 行 829:
  
 menu を実行する。\\ menu を実行する。\\
-**Linux**\\ +**Linux, PowerShell**\\ 
-<code>+<WRAP prewrap 100%> 
 +<code powershell>
 $ ./m $ ./m
 </code> </code>
-**Windows**\\+</WRAP> 
 + 
 +コマンドプロンプト\\
 <code> <code>
 > m > m
 </code> </code>
-<code>+</WRAP> 
 +<WRAP prewrap 100% result> 
 +<code powershell> 
 usage: "m <target>" where <target> is: usage: "m <target>" where <target> is:
  
行 831: 行 849:
 extras          install packages required for docs and moin development extras          install packages required for docs and moin development
 docs            create moin html documentation (requires extras) docs            create moin html documentation (requires extras)
-interwiki       refresh contrib/interwiki/intermap.txt (version control)+interwiki       refresh intermap.txt
 log <target>    view detailed log generated by <target>, omit to see list log <target>    view detailed log generated by <target>, omit to see list
  
行 844: 行 862:
 index           delete and rebuild indexes index           delete and rebuild indexes
  
-css             run Stylus and lessc to update theme CSS files+css             run lessc to update basic theme CSS files
 tests *         run tests, log output (-v -k my_test) tests *         run tests, log output (-v -k my_test)
 coding-std      correct scripts that taint the repository with trailing spaces.. coding-std      correct scripts that taint the repository with trailing spaces..
行 853: 行 871:
 del-rej         delete all files matching *.rej del-rej         delete all files matching *.rej
 del-wiki        create a backup, then delete all wiki data del-wiki        create a backup, then delete all wiki data
 +
 </code> </code>
  
 ==== 空の Wiki を作成 ==== ==== 空の Wiki を作成 ====
-**Linux**\\ +**Linux, PowerShell**\\ 
-<code>+<WRAP prewrap 100%> 
 +<code powershell>
 $ ./m new-wiki $ ./m new-wiki
 </code> </code>
-**Windows**\\+ 
 +コマンドプロンプト\\
 <code> <code>
 > m new-wiki > m new-wiki
 </code> </code>
-<code>+</WRAP> 
 + 
 +<WRAP prewrap 100% result> 
 +<code powershell>
 Creating a new empty wiki... Creating a new empty wiki...
 Output messages redirected to m-new-wiki.txt. Output messages redirected to m-new-wiki.txt.
 +Important messages from m-new-wiki.txt are shown below:
  
-Successnew wiki has been created.+Errorattempt to create wiki failed. Do "m log new-wiki" to see complete log.
 </code> </code>
 +</WRAP>
  
 ==== moin2 の実行 ==== ==== moin2 の実行 ====
行 880: 行 906:
 > m run > m run
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 2019-08-09 18:54:51,020 INFO moin.log:150 using logging configuration read from built-in fallback in moin.log module! 2019-08-09 18:54:51,020 INFO moin.log:150 using logging configuration read from built-in fallback in moin.log module!
行 908: 行 934:
 **Lang:** Python 3.7.4\\ **Lang:** Python 3.7.4\\
 **Web Interface:** WSGI\\ **Web Interface:** WSGI\\
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 > ab -n 1000 -c 100 http://localhost:8080/Home > ab -n 1000 -c 100 http://localhost:8080/Home
行 981: 行 1007:
 **Lang:** PHP 7.3.3\\ **Lang:** PHP 7.3.3\\
 **Web Interface:** FastCGI\\ **Web Interface:** FastCGI\\
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 abs -n 1000 -c 100 https://wiki.monsters-g.local:1443/start abs -n 1000 -c 100 https://wiki.monsters-g.local:1443/start
  • python/moinmoin.1568342878.txt.gz
  • 最終更新: 2019/09/13 11:47
  • by ともやん