swe/rocketchat-to-space
最新稳定版本:v2.0.0
Composer 安装命令:
composer create-project swe/rocketchat-to-space
包简介
Import your channels with its messages from Rocket.Chat to JetBrains Space.
README 文档
README
Import your channels with its messages from Rocket.Chat to JetBrains Space
Edit the files .env and user-mapping.json to your needs.
Then call
php import.php
user-mapping.json
In the user-mapping.json you have to write all the Rocket.Chat and Space usernames. The key is the Rocket.Chat
username, value the Space username.
{
"john-doe": "John.Doe",
"jane.doe": "Jane"
}
.env
You have to write the credentials into the .env file so the collector/importer can connect to Rocket.Chat/Space.
ROCKET_CHAT_URL=https://chat.example.com ROCKET_CHAT_USER=user@example.com ROCKET_CHAT_PASSWORD=mySecretPassword SPACE_URL=https://example.jetbrains.space SPACE_CLIENT_ID=46511156-4651 SPACE_CLIENT_SECRET=561fsef156ht651cbf
Troubleshooting
Sometimes space seems to be too slow for this import to grant permissions after creating channels so maybe this import will be stopped. In the terminal you can see the channel name and maybe the current import index. So just restart the import with parameters:
php import.php the-shown-channel-name the-maybe-shown-index
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-08