Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3245680
D3211.id9816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
798 B
Referenced Files
None
Subscribers
None
D3211.id9816.diff
View Options
diff --git a/docs/dev_environment.md b/docs/dev_environment.md
--- a/docs/dev_environment.md
+++ b/docs/dev_environment.md
@@ -556,16 +556,10 @@
```
cd server
-vim secrets/olm_config.json
+yarn script dist/scripts/generate-olm-config.json
```
-The Olm config file should look like this:
-
-```json
-{
- "privateKey": "privateKey"
-}
-```
+This script will generate `olm_config.json` file in `secrets` directory.
## Phabricator
diff --git a/server/src/utils/olm-utils.js b/server/src/utils/olm-utils.js
--- a/server/src/utils/olm-utils.js
+++ b/server/src/utils/olm-utils.js
@@ -3,7 +3,8 @@
import olmConfig from '../../secrets/olm_config';
type OlmConfig = {
- +privateKey: string,
+ +picklingKey: string,
+ +pickledAccount: string,
};
function getOlmConfig(): OlmConfig {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 8:02 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495251
Default Alt Text
D3211.id9816.diff (798 B)
Attached To
Mode
D3211: Reflect script implementation in olm-utils and dev env setup instructions
Attached
Detach File
Event Timeline
Log In to Comment