更新README, 移除多余部分
一个创新的网页起始页,具有独特的搜索框设计和多引擎搜索解决方案。
本项目基于GPLv3许可证开源。您可以自由地使用、修改和分发本项目,但必须保留原始版权说明和许可证声明。完整的许可证文本请参见 LICENSE 文件。
HarmonyMagic/ ├── index.html # 主页面 ├── style.css # 样式文件 ├── script.js # JavaScript逻辑 ├── images/ # 图片资源 └── README.md # 项目说明
本项目为纯前端项目,可以部署在任何支持静态文件服务的Web服务器上。以下是几种常见服务器的部署方法:
如果80端口已被其他服务占用,可通过以下方式解决:
net stop was /y
/var/www/html/
/srv/www/
sudo cp -r /path/to/hmmc /var/www/html/
/etc/apache2/apache2.conf
/etc/httpd/conf/httpd.conf
sudo systemctl restart apache2 # Ubuntu/Debian sudo systemctl restart httpd # CentOS/RHEL
htdocs
httpd.conf
sudo apachectl start
/Library/WebServer/Documents/
sudo cp -r /path/to/hmmc /Library/WebServer/Documents/
sudo apachectl restart
/usr/share/nginx/html/
sudo cp -r /path/to/hmmc /usr/share/nginx/html/
/etc/nginx/nginx.conf
/etc/nginx/sites-available/default
server { listen 80; server_name your_domain_or_ip; location / { root /usr/share/nginx/html/hmmc; index index.html; try_files $uri $uri/ /index.html; } }
sudo nginx -t
sudo systemctl restart nginx
html
conf/nginx.conf
nginx.exe
nginx
brew install nginx
/usr/local/var/www/
sudo cp -r /path/to/hmmc /usr/local/var/www/
/usr/local/etc/nginx/nginx.conf
sudo nginx
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
HarmonyMagic起始页
一个创新的网页起始页,具有独特的搜索框设计和多引擎搜索解决方案。
许可证
本项目基于GPLv3许可证开源。您可以自由地使用、修改和分发本项目,但必须保留原始版权说明和许可证声明。完整的许可证文本请参见 LICENSE 文件。
功能特色
🌟 创新搜索框设计
🔍 多引擎搜索解决方案
⏰ 实用功能
设计亮点
视觉设计
用户体验
技术实现
使用方法
搜索引擎映射
项目结构
部署指南
本项目为纯前端项目,可以部署在任何支持静态文件服务的Web服务器上。以下是几种常见服务器的部署方法:
Windows IIS 部署
IIS组件添加步骤
Windows系统(启用或关闭Windows功能)
Windows Server系统(服务器管理器添加角色和功能)
停用默认网站
创建新站点
端口冲突解决方案
如果80端口已被其他服务占用,可通过以下方式解决:
net stop was /y临时停止其他服务Apache 部署
Linux 部署
/var/www/html/或/srv/www/)/etc/apache2/apache2.conf或/etc/httpd/conf/httpd.conf)允许访问项目目录Windows 部署
htdocs文件夹)httpd.conf配置文件以确保正确配置网站根目录和权限macOS 部署
/Library/WebServer/Documents/)Nginx 部署
Linux 部署
/usr/share/nginx/html/或/var/www/html/)/etc/nginx/nginx.conf或/etc/nginx/sites-available/default)Windows 部署
html文件夹conf/nginx.conf配置文件以配置网站nginx.exe启动服务或使用命令行macOS 部署
/usr/local/var/www/)/usr/local/etc/nginx/nginx.conf)通用部署提示