Skip to content

Commit

Permalink
Site updated: 2023-10-08 20:28:12
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-guoba committed Oct 8, 2023
1 parent 8114250 commit 839a96c
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion 2023/09/18/Introduct-to-temporalio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h3 id="相关参考"><a href="#相关参考" class="headerlink" title="相关

<nav id="article-nav">

<a href="/2023/10/07/Memos-Code-Analyze/" id="article-nav-newer" class="article-nav-link-wrap">
<a href="/2023/10/08/Memos-Code-Analyze/" id="article-nav-newer" class="article-nav-link-wrap">
<i class="icon-circle-left"></i>
<div class="article-nav-title">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<meta name="description" content="简介Memos是一个开源的支持自托管部署的知识库,类似flomo。作为一个go+react实现的产品,功能齐全,且活跃度一直不错,所以找了个时间阅读了一下代码。本次仅记录后端及DB设计部分,前端部分后续有时间了再继续。">
<meta property="og:type" content="article">
<meta property="og:title" content="memos code analyze">
<meta property="og:url" content="https://www.goroutine.cn/2023/10/07/Memos-Code-Analyze/index.html">
<meta property="og:url" content="https://www.goroutine.cn/2023/10/08/Memos-Code-Analyze/index.html">
<meta property="og:site_name" content="Utopian">
<meta property="og:description" content="简介Memos是一个开源的支持自托管部署的知识库,类似flomo。作为一个go+react实现的产品,功能齐全,且活跃度一直不错,所以找了个时间阅读了一下代码。本次仅记录后端及DB设计部分,前端部分后续有时间了再继续。">
<meta property="og:locale">
<meta property="article:published_time" content="2023-10-07T08:04:51.908Z">
<meta property="article:modified_time" content="2023-10-07T08:04:37.626Z">
<meta property="article:published_time" content="2023-10-08T12:27:14.643Z">
<meta property="article:modified_time" content="2023-10-08T12:27:14.638Z">
<meta property="article:author" content="Alex guo">
<meta property="article:tag" content="golang">
<meta property="article:tag" content="memos">
Expand Down Expand Up @@ -207,8 +207,8 @@ <h1 class="article-title" itemprop="name">



<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>


Expand All @@ -221,7 +221,7 @@ <h1 class="article-title" itemprop="name">
<!-- 百度字体平台:http://fontstore.baidu.com/static/editor/index.html -->
<i class="icon-statistics"></i>
<span class="post-meta-item-text"> 字数统计:</span>
<span class="post-count">4.2k字</span>
<span class="post-count">4.3k字</span>
</span>
</span>

Expand Down Expand Up @@ -264,6 +264,7 @@ <h3 id="安装方法"><a href="#安装方法" class="headerlink" title="安装
<li>前端编译。并将编译结果copy到server&#x2F;dist目录。</li>
<li>go build,编译可执行文件。然后直接执行即可。</li>
</ol>
<p><strong>更新:源码下已经有个现成的编译脚本(scripts&#x2F;build.sh)了。自己安装好编译工具即可。</strong></p>
<h3 id="DB存储结构"><a href="#DB存储结构" class="headerlink" title="DB存储结构"></a>DB存储结构</h3><p>后台代码分析之前,可以对DB结构有个大致了解,因为其接口大部分是基于DB的CRUD操作。</p>
<h4 id="system-setting"><a href="#system-setting" class="headerlink" title="system_setting"></a><code>system_setting</code></h4><p>存储系统设置。详见系统设置页面配置项(仅ROLE为HOST用户有权限)</p>
<figure class="highlight sql"><table><tr><td class="code"><pre><span class="line"><span class="keyword">CREATE</span> <span class="keyword">TABLE</span> system_setting (</span><br><span class="line"> name TEXT <span class="keyword">NOT</span> <span class="keyword">NULL</span>,</span><br><span class="line"> <span class="keyword">value</span> TEXT <span class="keyword">NOT</span> <span class="keyword">NULL</span>,</span><br><span class="line"> description TEXT <span class="keyword">NOT</span> <span class="keyword">NULL</span> <span class="keyword">DEFAULT</span> <span class="string">&#x27;&#x27;</span>,</span><br><span class="line"> <span class="keyword">UNIQUE</span>(name)</span><br><span class="line">);</span><br></pre></td></tr></table></figure>
Expand Down Expand Up @@ -574,7 +575,7 @@ <h3 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</
</li>
<li>
<strong>本文链接:</strong>
<a href="https://www.goroutine.cn/2023/10/07/Memos-Code-Analyze/" title="memos code analyze" target="_blank">https://www.goroutine.cn/2023/10/07/Memos-Code-Analyze/</a>
<a href="https://www.goroutine.cn/2023/10/08/Memos-Code-Analyze/" title="memos code analyze" target="_blank">https://www.goroutine.cn/2023/10/08/Memos-Code-Analyze/</a>
</li>

<li>
Expand Down Expand Up @@ -656,7 +657,7 @@ <h3 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</
<a class="close js-modal-close" href="javascript:;"><i class="icon icon-close"></i></a>
<p>扫一扫,分享到微信</p>
<div class="wx-qrcode">
<!-- <img src="//pan.baidu.com/share/qrcode?url=https://www.goroutine.cn/2023/10/07/Memos-Code-Analyze/" alt="微信分享二维码"> -->
<!-- <img src="//pan.baidu.com/share/qrcode?url=https://www.goroutine.cn/2023/10/08/Memos-Code-Analyze/" alt="微信分享二维码"> -->
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions archives/2023/10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>
<header class="archive-article-header">
<div class="article-meta">

<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>

</div>


<h1 itemprop="name">

<a class="archive-article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="archive-article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>

Expand Down
6 changes: 3 additions & 3 deletions archives/2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>
<header class="archive-article-header">
<div class="article-meta">

<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>

</div>


<h1 itemprop="name">

<a class="archive-article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="archive-article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>

Expand Down
6 changes: 3 additions & 3 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>
<header class="archive-article-header">
<div class="article-meta">

<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>

</div>


<h1 itemprop="name">

<a class="archive-article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="archive-article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>

Expand Down
2 changes: 1 addition & 1 deletion content.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,16 +204,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>

<h1 itemprop="name">

<a class="article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>





<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>


Expand All @@ -227,7 +227,7 @@ <h1 itemprop="name">

<h3 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h3><p><a target="_blank" rel="noopener" href="https://github.com/usememos/memos">Memos</a>是一个开源的支持自托管部署的知识库,类似flomo。作为一个go+react实现的产品,功能齐全,且活跃度一直不错,所以找了个时间阅读了一下代码。<br>本次仅记录后端及DB设计部分,前端部分后续有时间了再继续。</p>

<a class="article-more-a" href="/2023/10/07/Memos-Code-Analyze/#more">more >></a>
<a class="article-more-a" href="/2023/10/08/Memos-Code-Analyze/#more">more >></a>



Expand Down Expand Up @@ -258,7 +258,7 @@ <h3 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</


<p class="article-more-link">
<a class="article-more-a" href="/2023/10/07/Memos-Code-Analyze/">展开全文 >></a>
<a class="article-more-a" href="/2023/10/08/Memos-Code-Analyze/">展开全文 >></a>
</p>


Expand Down
6 changes: 3 additions & 3 deletions tags/golang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>
<header class="archive-article-header">
<div class="article-meta">

<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>

</div>


<h1 itemprop="name">

<a class="archive-article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="archive-article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>

Expand Down
6 changes: 3 additions & 3 deletions tags/memos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ <h1 class="header-author js-header-author">Alex guo</h1>
<header class="archive-article-header">
<div class="article-meta">

<a href="/2023/10/07/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-07T08:04:51.908Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-07</time>
<a href="/2023/10/08/Memos-Code-Analyze/" class="archive-article-date">
<time datetime="2023-10-08T12:27:14.643Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2023-10-08</time>
</a>

</div>


<h1 itemprop="name">

<a class="archive-article-title" href="/2023/10/07/Memos-Code-Analyze/">memos code analyze</a>
<a class="archive-article-title" href="/2023/10/08/Memos-Code-Analyze/">memos code analyze</a>

</h1>

Expand Down

0 comments on commit 839a96c

Please sign in to comment.