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
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: TopcoderXDeploy.md
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Topcoder X overview
2
2
3
-
Topcoder-X is a set of applications and services that allow a copilot or Topcoder customer to manage work directly through Gitlab or Github. When an issue is created in a Gitlab or Github project set up in Topcoder-X, Topcoder-X will create a Topcoder challenge to mirror the Gitlab or Github issue, and it will ensure that the challenge has the correct prize, copilot, assignee, description, and title. As the Gitlab or Github issue is updated, Topcoder-X will ensure that the Topcoder challenge associated with the issue is updated appropriately. When the Gitlab or Github issue is closed, Topcoder-X will activate and close the Topcoder challenge, ensuring that the members get paid as expected.
3
+
Topcoder-X is a set of applications and services that allow a copilot or Topcoder customer to manage work directly through Gitlab or Github. When an issue is created in a Gitlab or Github project set up in Topcoder-X, Topcoder-X will create a Topcoder challenge to mirror the Gitlab or Github issue, and it will ensure that the challenge has the correct prize, copilot, assignee, description, and title. As the Gitlab or Github issue is updated, Topcoder-X will ensure that the Topcoder challenge associated with the issue is updated appropriately. When the Gitlab or Github issue is closed, Topcoder-X will activate and close the Topcoder challenge, ensuring that the members get paid as expected.
4
4
5
5
At each step of the process, Topcoder-X will add comments to the Gitlab or Github project, ensuring that the members know where the Topcoder challenge is and what the status of the challenge is.
6
6
@@ -10,7 +10,7 @@ The information is updated in real time based on webhook integrations with Gitla
All 3 pieces will be configured to use the same MongoDB and Kafka installations.
26
26
27
27
28
-
## MongoDB
28
+
## DynamoDB
29
29
30
-
The MongoDB can be created using default options. Just make sure that it is configured properly as `MONGODB_URI` in all 3 pieces:
30
+
The DynamoDB can be created using default options. Just make sure that it is configured properly as `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION`, `IS_LOCAL` in all 3 pieces:
Installing Kafka can be done either locally or using a cloud service. You'll need to note how the service is configured and will have to update the configuration appropriately for the receiver, processor, and site.
@@ -87,7 +90,7 @@ To this:
87
90
88
91
For login to work, your local Topcoder-X-UI deployment needs to have a `*.topcoder-dev.com` DNS name. Our development environment uses `x.topcoder-dev.com`
89
92
90
-
You can make this change in your local `/etc/hosts` file.
93
+
You can make this change in your local `/etc/hosts` file.
91
94
92
95
```
93
96
127.0.0.1 x.topcoder-dev.com
@@ -100,7 +103,7 @@ You can login with one of these sample accounts:
100
103
101
104
## Local webhook setup
102
105
103
-
The hardest part of the setup may be ensuring that Gitlab and Github can make callbacks to your local environment. You will have to ensure that your Topcoder-X receiver is publicly accessible on the public internet.
106
+
The hardest part of the setup may be ensuring that Gitlab and Github can make callbacks to your local environment. You will have to ensure that your Topcoder-X receiver is publicly accessible on the public internet.
104
107
105
108
If your ISP dynamically configures your IP address, you can use a dyndns service:
Copy file name to clipboardExpand all lines: configuration.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@ The following config parameters are supported, they are defined in `src/config.j
15
15
| GITLAB_CLIENT_SECRET | the GitLab client secret | No default - needs to be set up using the instructions below |
16
16
| WEBSITE | used as base to construct various URLs |http://topcoderx.topcoder-dev.com/|
17
17
| GITLAB_API_BASE_URL | The Gitlab API base URL |https://gitlab.com|
18
-
| MONGODB_URI | The MongoDB URI. This needs to be the same MongoDB used by topcoder-x-receiver, topcoder-x-processor, and topcoder-x-site | mongodb://127.0.0.1:27017/topcoderx |
19
18
|TOPIC | The Kafka topic where events are published. This must be the same as the configured value for topcoder-x-processor||
20
19
|KAFKA_OPTIONS | Kafka connection options||
21
20
|KAFKA_HOST | The Kafka host to connect to| localhost:9092 |
@@ -28,6 +27,10 @@ The following config parameters are supported, they are defined in `src/config.j
28
27
|COPILOT_ROLE| The role to identify copilot|'copilot'|
29
28
|HELP_LINK| The link for help| 'https://github.com/topcoder-platform/topcoder-x-ui/wiki'|
30
29
|ADMINISTRATOR_ROLES| The array of roles to be considered as admin|`['administrator', 'admin']`|
30
+
|AWS_ACCESS_KEY_ID | The Amazon certificate key to use when connecting. Use local dynamodb you can set fake value|FAKE_ACCESS_KEY_ID |
31
+
|AWS_SECRET_ACCESS_KEY | The Amazon certificate access key to use when connecting. Use local dynamodb you can set fake value|FAKE_SECRET_ACCESS_KEY |
32
+
|AWS_REGION | The Amazon certificate region to use when connecting. Use local dynamodb you can set fake value|FAKE_REGION |
33
+
|IS_LOCAL | Use Amazon DynamoDB Local or server. |true |
0 commit comments