wolfofmycity/vigilaero-platform
GitHub: wolfofmycity/vigilaero-platform
VigilAero 平台是一款云原生无人机安全平台,提供威胁模拟、事件响应和合规性监控功能。
Stars: 0 | Forks: 0
# 使用 Create React App 入门
该项目是用 [Create React App](https://github.com/facebook/create-react-app) 快速搭建的。
## 可用脚本
在项目目录中,你可以运行:
### npm start
以开发模式运行应用。
打开 [http://localhost:3000](http://localhost:3000) 在浏览器中查看。
当你做出更改时,页面将重新加载。
你还可以在控制台中看到任何 lint 错误。
### npm test
以交互式监视模式启动测试运行器。
有关更多信息,请参阅关于 [运行测试](https://facebook.github.io/create-react-app/docs/running-tests) 的部分。
### npm run build
将应用构建到 `build` 文件夹以用于生产。
它以生产模式正确打包 React 并优化构建以获得最佳性能。
构建已压缩,文件名包含哈希值。
你的应用已准备好部署!
有关更多信息,请参阅关于 [部署](https://facebook.github.io/create-react-app/docs/deployment) 的部分。
### npm run eject
**注意:这是一个单向操作。一旦你 `eject`,就无法回退!**
如果你对构建工具和配置选择不满意,可以随时 `eject`。此命令将从你的项目中移除单个构建依赖。
相反,它将所有配置文件和传递依赖(webpack、Babel、ESLint 等)直接复制到你的项目中,这样你就可以完全控制它们。除了 `eject` 以外的所有命令仍然有效,但它们将指向复制的脚本,这样你就可以对其进行调整。此时你将独立操作。
你不必使用 `eject`。精选的功能集适合小型和中型部署,你不应该觉得有义务使用此功能。然而,我们理解,如果你准备好了,这个工具如果没有可定制的功能将不会很有用。
## 了解更多
你可以在 [Create React App 文档](https://facebook.github.io/create-react-app/docs/getting-started) 中了解更多信息。
要学习 React,请查看 [React 文档](https://reactjs.org/)。
### 代码拆分
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### 分析包大小
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### 制作渐进式 Web 应用
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### 高级配置
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### 部署
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` 失败
本部分已移至此处:[https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
## 仓库和数据卫生
VigilAero 源代码不得包含本地数据库、数据库备份、日志、临时文件夹、测试工件或机密信息。生产数据库仅存在于生产服务器上。备份必须加密并按照部署流程存储在服务器之外。
切勿向承包商、飞行员或其他外部审阅者发送数据库文件、备份、`.env` 文件、私钥、携带令牌的日志或本地测试数据库。仅在运行发布打包和卫生检查后共享源代码包:
```
powershell -ExecutionPolicy Bypass -File scripts/package_release.ps1
python scripts/check_repo_hygiene.py
```
如果任何敏感文件已被 Git 跟踪,请取消跟踪而不删除本地副本:
```
git rm --cached path/to/file.db
```
标签:CMS安全, Create React App, JavaScript, React, Syscalls, Web 应用, 合规监控, 技术栈, 无人机安全, 构建脚本, 测试, 自定义脚本, 自定义配置, 请求拦截, 软件开发, 部署