-
-
Notifications
You must be signed in to change notification settings - Fork 246
Feat/token list migration #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…gbot/gateway into feat/token_list_migration
rapcmia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- Revision of PR155, test latest commit 9451a6d
- Run
yarn buildthen checkconf/listsfolder, all ok ✅
- Deleted
conffolder and observe changes ongateway-setup.sh, all ok ✅
- Ran tests on both local mbp(m1) and Ubuntu22.04 test server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fengtality
Docker and source will work after those suggestions are commited.
- It's advisable to remove the
copy_listsfunction in the gateway-setup.sh files. - Step 3 of docker compose doc for gateway can be removed as well.
I couldn't push commits because the pr was re-created.
| "repository": "https://github.com/hummingbot/gateway", | ||
| "scripts": { | ||
| "prebuild": "rimraf dist && mkdir dist", | ||
| "prebuild": "rimraf dist && mkdir dist && yarn copy-files:token-list", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "prebuild": "rimraf dist && mkdir dist && yarn copy-files:token-list", | |
| "prebuild": "rimraf dist && mkdir dist", |
| "dev:debug": "NODE_ENV=dev DEBUG=* nodemon src/index.ts", | ||
| "start": "/bin/bash ./startup.sh", | ||
| "copy-files": "copyfiles -a 'src/**/schema/*.json' 'src/templates/*.yml' 'src/templates/lists/*.json' 'test/services/data/**/*.*' dist", | ||
| "copy-files:token-list": "mkdir -p conf/lists && copyfiles -f 'src/templates/lists/*.json' conf/lists", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "copy-files:token-list": "mkdir -p conf/lists && copyfiles -f 'src/templates/lists/*.json' conf/lists", | |
| "copy-files:token-list": "mkdir -p conf/lists && copyfiles -f -s 'src/templates/lists/*.json' conf/lists", |
| "lint": "eslint src test test-scripts --format table --fix", | ||
| "dev": "nodemon src/index.ts", | ||
| "dev:debug": "NODE_ENV=dev DEBUG=* nodemon src/index.ts", | ||
| "start": "/bin/bash ./startup.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "start": "/bin/bash ./startup.sh", | |
| "start": "yarn copy-files:token-list && /bin/bash ./startup.sh", |
|
Closed in favor of #160 |
Before submitting this PR, please make sure:
A description of the changes proposed in the pull request:
Revised version of #155
Tests performed by the developer:
Tips for QA testing: