You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,11 @@ The following parameters can be set in config files or in env variables:
30
30
- AMAZON.IS_LOCAL_DB: Use Amazon DynamoDB Local or server.
31
31
- AMAZON.DYNAMODB_URL: The local url if using Amazon DynamoDB Local
32
32
- AMAZON.ATTACHMENT_S3_BUCKET: the AWS S3 bucket to store attachments
33
+
- ES: config object for Elasticsearch
34
+
- ES.HOST: Elasticsearch host
35
+
- ES.API_VERSION: Elasticsearch API version
36
+
- ES.ES_INDEX: Elasticsearch index name
37
+
- ES.ES_TYPE: Elasticsearch index type
33
38
- FILE_UPLOAD_SIZE_LIMIT: the file upload size limit in bytes
34
39
- CHALLENGES_API_URL: TC challenges API base URL
35
40
- GROUPS_API_URL: TC groups API base URL
@@ -67,7 +72,7 @@ Go to `mock-api` folder and run command `npm run start` to start the mock-api li
67
72
1. Drop/delete tables: `npm run drop-tables`
68
73
2. Creating tables: `npm run create-tables`
69
74
3. Seed/Insert data to tables: `npm run seed-tables`
70
-
4. Initialize database in default environment: `npm run init-db`
75
+
4. Initialize/Clear database in default environment: `npm run init-db`
71
76
5. View table data in default environment: `npm run view-data <ModelName>`, ModelName can be `Challenge`, `ChallengeType`, `ChallengeSetting`, `AuditLog`, `Phase`, `TimelineTemplate`or `Attachment`
0 commit comments