Skip to content

Commit

Permalink
Updates for May release challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Jun 3, 2021
1 parent 9e370ae commit 3c5f760
Show file tree
Hide file tree
Showing 46 changed files with 349 additions and 1,927 deletions.
6 changes: 1 addition & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ variables:
APP_TITLE: "topcoder x app"
NODE_ENV: development

services:
- mongo

cache:
paths:
- node_modules/
Expand Down Expand Up @@ -60,5 +57,4 @@ deploy_stage:
url: $HEROKU_STAGING_URL
variables:
GIT_STRATEGY: fetch
GIT_SUBMODULE_STRATEGY: recursive
MONGODB_URI: mongodb://mongo:27017/topcoderx'
GIT_SUBMODULE_STRATEGY: recursive
40 changes: 0 additions & 40 deletions DynamoDBMigration.md

This file was deleted.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

- Nodejs 8 is required
- MongoDB 3.2
- DynamoDB
- kafka
- nodemon (for local development)

Expand Down Expand Up @@ -69,10 +69,9 @@ Server should be started at port 80.
Follow the below steps to deploy the app to heroku
1. `heroku login`
2. `heroku create`
3. `heroku addons:create mongolab`
4. `heroku config:set NPM_CONFIG_PRODUCTION=false` so that heroku will install dev dependencies
5. `git push heroku master` or `git push heroku develop:master` to deploy develop branch
6. `heroku open` to load the app on browser
3. `heroku config:set NPM_CONFIG_PRODUCTION=false` so that heroku will install dev dependencies
4. `git push heroku master` or `git push heroku develop:master` to deploy develop branch
5. `heroku open` to load the app on browser

Note: heroku domain should match subdomain of topcoder-dev or topcoder depending upon target topcoder environment

Expand Down
2 changes: 1 addition & 1 deletion TopcoderXDeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Topcoder-X comprises 3 pieces:
* Topcoder-X Processor that handles the messages created by the receiver. The processor handles the interactions with the Topcoder platform, via the Topcoder challenge API, and it also handles adding comments back to Github / Gitlab when things are updated on the Topcoder challenge.
* Topcoder-X UI that allows copilots and others to manage the Topcoder-X integrations with Github and Gitlab projects. The user can add new Github and Gitlab integrations, including setting up default webhooks and labels for issues, all through the UI.

All 3 pieces will be configured to use the same MongoDB and Kafka installations.
All 3 pieces will be configured to use the same DynamoDB and Kafka installations.


## DynamoDB
Expand Down
37 changes: 0 additions & 37 deletions scripts/mongodb-migration/README.MD

This file was deleted.

25 changes: 0 additions & 25 deletions scripts/mongodb-migration/config/default.js

This file was deleted.

28 changes: 0 additions & 28 deletions scripts/mongodb-migration/constants.js

This file was deleted.

65 changes: 0 additions & 65 deletions scripts/mongodb-migration/create-empty-tables.js

This file was deleted.

67 changes: 0 additions & 67 deletions scripts/mongodb-migration/dynamodb/db-helper.js

This file was deleted.

75 changes: 0 additions & 75 deletions scripts/mongodb-migration/dynamodb/models/CopilotPayment.js

This file was deleted.

Loading

0 comments on commit 3c5f760

Please sign in to comment.