瀏覽代碼

Doc: added Deployment & Warning sections

AH-dark 2 年之前
父節點
當前提交
e7045e2171
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      README.md

+ 22 - 0
README.md

@@ -4,6 +4,16 @@ This is a frontend that is almost fully compatible with the V2Board API, offerin
 We built this project using React + Redux + Material UI, without the `antd` package but following the style of Ant Design. 
 We built this project using React + Redux + Material UI, without the `antd` package but following the style of Ant Design. 
 As a service provider whose customers are mostly from mainland China, we need to make a frontend that conforms to the usage habits of Chinese people as much as possible.
 As a service provider whose customers are mostly from mainland China, we need to make a frontend that conforms to the usage habits of Chinese people as much as possible.
 
 
+## Warning
+
+This project **does not allow** any copyright notices to be removed, including but not limited to:
+
+1. The copyright logo and its link on the left side of the Footer.
+2. The `<meta name="copyright">` and `<meta name="author">` tags in the `index.html` file.
+3. Other copyright notices hidden on this page.
+
+If we detect that your site directly or indirectly uses our source code but has tampered with or deleted the copyright information, we will take relevant measures.
+
 ## Development
 ## Development
 
 
 First of all, you need to pay attention: According to the AGPL-3.0 agreement, as long as you modify our code, no matter whether you publish this code or only use the code to provide services, you need to open source your code.
 First of all, you need to pay attention: According to the AGPL-3.0 agreement, as long as you modify our code, no matter whether you publish this code or only use the code to provide services, you need to open source your code.
@@ -23,6 +33,18 @@ If you use our code illegally, then we will actively collect evidence and initia
    - upload files in the `dist` directory to your server
    - upload files in the `dist` directory to your server
    - go to http://yourdomain.com for production
    - go to http://yourdomain.com for production
 
 
+## Deployment
+
+### Vercel
+
+[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fstar-horizon%2Fgfwboard-user)
+
+### Static Hosting
+
+1. Run `pnpm run build` to build the production version.
+2. Upload files in the `dist` directory to your server.
+3. Go to http://yourdomain.com for production.
+
 ## License Scanning
 ## License Scanning
 
 
 [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fstar-horizon%2Fgfwservice-frontend.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fstar-horizon%2Fgfwservice-frontend?ref=badge_large)
 [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fstar-horizon%2Fgfwservice-frontend.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fstar-horizon%2Fgfwservice-frontend?ref=badge_large)