-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix auth for notion import. Fix readme (#6720)
- Loading branch information
Showing
3 changed files
with
21 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,28 +50,33 @@ rushx run-local import-notion-to-teamspace /home/john/extracted-notion-docs \ | |
--teamspace imported | ||
``` | ||
|
||
#### For clouds: | ||
#### For cloud deployment: | ||
##### Here is an example for those who's using huly.app cloud: | ||
To import Notion workspace with teamspaces | ||
1. Go to the root folder of the extracted archive with exported data. | ||
2. Run import command as follow: | ||
|
||
* To import Notion workspace with teamspaces | ||
``` | ||
docker run \ | ||
-e SERVER_SECRET="" \ | ||
-e ACCOUNTS_URL="https://account.huly.app" \ | ||
-e FRONT_URL="https://huly.app" \ | ||
-v $(pwd):/data \ | ||
hardcoreeng/tool:latest \ | ||
-- bundle.js import-notion-with-teamspaces /tmp/notion-docs \ | ||
-- bundle.js import-notion-with-teamspaces /data \ | ||
--user [email protected] \ | ||
--password 4321qwe \ | ||
--workspace ws1 | ||
``` | ||
To import Notion workspace without teamspaces or a page with subpages. | ||
* To import Notion workspace without teamspaces or a page with subpages. | ||
``` | ||
docker run \ | ||
-e SERVER_SECRET="" \ | ||
-e ACCOUNTS_URL="https://account.huly.app" \ | ||
-e FRONT_URL="https://huly.app" \ | ||
-v $(pwd):/data \ | ||
hardcoreeng/tool:latest \ | ||
-- bundle.js import-notion-to-teamspace /tmp/notion-docs \ | ||
-- bundle.js import-notion-to-teamspace /data \ | ||
--user [email protected] \ | ||
--password 4321qwe \ | ||
--workspace ws1 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters