Skip to content

Commit

Permalink
Replace kepler with mainnet config
Browse files Browse the repository at this point in the history
  • Loading branch information
mzxyz committed Jan 23, 2024
1 parent 3bfed86 commit 56e8d21
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ Thumbs.db

.data
.eslintcache
docker-compose-kepler.yml
docker-compose-mainnet.yml
docker-compose-testnet.yml
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ For `Testnet`:
- `yarn build:testnet`
- `yarn deploy:testnet`

For `Kepler`
For `Mainnet`

- `yarn codegen:kepler`
- `yarn build:kepler`
- `yarn deploy:kepler`
- `yarn codegen:mainnet`
- `yarn build:mainnet`
- `yarn deploy:mainnet`

## Publish your project

Expand All @@ -59,7 +59,7 @@ SubQuery is open-source, meaning you have the freedom to run it in the following

```
export SUBQL_ACCESS_TOKEN=<token> (replace with your own token)
yarn deploy:testnet or yarn deploy:kepler
yarn deploy:testnet or yarn deploy:mainnet
```

## What Next?
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
volumes:
- ./:/app
command:
- -f=/app/project-kepler.yaml
- -f=/app/project-mainnet.yaml
- --db-schema=app
healthcheck:
test: ['CMD', 'curl', '-f', 'http://subquery-node:3000/ready']
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Subql project for indexing the Subquery Network",
"main": "dist/index.js",
"scripts": {
"build:kepler": "yarn check-filters kepler && ./node_modules/.bin/subql build",
"build:mainnet": "yarn check-filters mainnet && ./node_modules/.bin/subql build",
"build:testnet": "yarn check-filters testnet && ./node_modules/.bin/subql build",
"codegen:kepler": "./node_modules/.bin/subql codegen -f ./project-kepler.yaml",
"codegen:mainnet": "./node_modules/.bin/subql codegen -f ./project-mainnet.yaml",
"codegen:testnet": "./node_modules/.bin/subql codegen -f ./project-testnet.yaml",
"deploy:kepler": "subql publish -f ./project-kepler.yaml",
"deploy:mainnet": "subql publish -f ./project-mainnet.yaml",
"deploy:testnet": "subql publish -f ./project-testnet.yaml",
"validate": "subql validate",
"prepare": "husky install",
Expand All @@ -17,8 +17,8 @@
"check-filters": "node -r ts-node/register/transpile-only ./scripts/checkFilters.ts",
"prettier:fix": "prettier --write ."
},
"homepage": "https://github.com/subquery/subquery-network-subql-project",
"repository": "https://github.com/subquery/subquery-network-subql-project",
"homepage": "https://github.com/subquery/network-app-backend",
"repository": "https://github.com/subquery/network-app-backend",
"files": [
"dist",
"schema.graphql",
Expand Down
Loading

0 comments on commit 56e8d21

Please sign in to comment.