factorio-item-browser/api-import
Composer 安装命令:
composer create-project factorio-item-browser/api-import
包简介
The project which imports the data generated by the export into the database.
README 文档
README
API Import
This project imports the data generated by the export into the database of the API server.
Commands
The project provides the following commands to actually import the data:
bin/cli.php process: Requests an export from the queue and processing it. This is the main command to be put in a crontab to have the exports imported into the database automatically, and it will call the other commands to do so.bin/cli.php import <combination-id>: Imports the main data of the combination into the database, including items, recipes and machines.bin/cli.php import-images <combination-id>: Import all the image files into the database. This requires that the database entities have already been created in the database, only thecontentcolumn is updated.bin/cli.php import-translations <combination-id>: Imports all the translations of the combination into the database. Already existing translations will be cleaned up.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2018-10-22
