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
- S3_ENDPOINT: endpoint of AWS S3 API, for unit and e2e test only; default to `localhost:9000`
70
69
71
70
## AWS S3 Setup
72
71
Go to https://console.aws.amazon.com/ and login. Choose S3 from Service folder and click `Create bucket`. Following the instruction to create S3 bucket.
73
72
73
+
## Local services setup
74
+
In the `local` folder, run `docker-compose up`
75
+
It starts Elasticsearch, DynamoDB and S3 compatible server.
76
+
74
77
## Mock api
75
78
For postman verification, please use the mock api under mock-api folder. It provides mock endpoint to fetch challenge resources and groups.
76
79
Go to `mock-api` folder and run command `npm run start` to start the mock-api listening on port 4000
@@ -106,12 +109,15 @@ Go to `mock-api` folder and run command `npm run start` to start the mock-api li
106
109
107
110
## Running tests
108
111
109
-
Before running tests, DynamoDB tables should be created, ES index should be initialized, mock API should be started and
110
-
various config parameters are properly set.
112
+
### Prepare
113
+
- Start Local services.
114
+
- Start Mock API.
115
+
- Create DynamoDB tables.
116
+
- Initialize ES index.
117
+
- Various config parameters should be properly set.
0 commit comments