hfbzthesis/chapters/deploy.tex
2024-08-13 13:25:46 +08:00

36 lines
929 B
TeX
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

\chapter{部署}
\section{Clone克隆Git 仓库}
使用 git clone 命令,如下:
\lstset{language = bash, style = lgeneral}
\begin{lstlisting}
$ git clone https://git.thehrz.net/thehrz/yigedinglia.git && cd yigedinglia
\end{lstlisting}
由于于网络原因,此步骤可能十分缓慢或失败。
\section{Docker Compose 部署}
\lstset{language = bash, style = lgeneral}
\begin{lstlisting}
$ docker compose up --build -d
\end{lstlisting}
由于于网络原因,此步骤可能十分缓慢或失败。
\section{测试服务器}
本项目也提供一个测试服务器,包含所有功能,欢迎使用。由于部署于中国香港,在中国大陆访问响应时间较长。如图 \ref{fig:ping}
\begin{figure}[H]
\centering
\includegraphics[width=8cm]{ping.png}
\caption{}
\label{fig:ping}
\end{figure}
地址: \href{https://yigedinglia.thehrz.net/}{https://yigedinglia.thehrz.net/}