Skip to content

Commit

Permalink
Community dev (#27)
Browse files Browse the repository at this point in the history
* feat: refactor community code strcut, remove egg
feat: sync common component
feat: update LanguageSelect component
feat: upgrade package logic
feat: add config yml and can customize app running port

* refactor: Synchronize enterprise edition changes

Co-authored-by: rivery <rivery.wang@vesoft.com>
  • Loading branch information
NicolaCage and xigongdaEricyang authored Jan 18, 2022
1 parent 6dcf2f9 commit dc3e676
Show file tree
Hide file tree
Showing 173 changed files with 22,481 additions and 24,372 deletions.
35 changes: 0 additions & 35 deletions .babelrc

This file was deleted.

6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ module.exports = {
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single']
}]
}],
'import/order': 'off',
'react/jsx-no-undef':'off'
}
};
};
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
path: source/nebula-graph-dashboard
- uses: actions/checkout@v2
with:
repository: vesoft-inc/nebula-http-gateway
path: source/nebula-http-gateway
ref: v2
##ToDO: add nebula-stats-exporter、node-exporter and prometheus
- uses: actions/setup-go@v2
with:
go-version: '^1.13.1'
- uses: actions/setup-node@v2
with:
node-version: '10'
node-version: '14'
- name: ls
run: ls -a
- name: Package
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ logs/
*.lock
*.js
*.map
app/**/*.js
**/*.js
test/**/*.js
config/**/*.js
app/**/*.map
**/*.map
test/**/*.map
config/**/*.map
app/public/
public/

!server/server.js
!.autod.conf.js
!.eslintrc.js
!.prettierrc.js
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ If you plan to set up dashboard in production, refer to:[production guide](DEP
port: 9669, // change to nebula graph service port
},
```
- Modify proxy setting: `./vendors/config-release.yaml`
```
port: 7003
proxy:
gateway:
target: "127.0.0.1:8090" // change gateway service proxy
prometheus:
target: "127.0.0.1:9091" // change prometheus service proxy
```
- Start
If you want to deploy in development mode, do this way:
```
Expand All @@ -103,8 +113,9 @@ If you plan to set up dashboard in production, refer to:[production guide](DEP
```
$ npm install
$ npm run build
$ npm run tsc
$ npm run start // if you want to stop, exec `npm run stop`
$ npm run pkg
$ cp -r vendors/config-release.yaml ./config.yaml
$ ./dashboard &
```
## Documentation
Expand Down
5 changes: 0 additions & 5 deletions app.ts

This file was deleted.

74 changes: 0 additions & 74 deletions app/assets/components/Charts/BatteryChart.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions app/assets/components/Charts/GaugeChart.tsx

This file was deleted.

55 changes: 0 additions & 55 deletions app/assets/components/Charts/SpaceChart.tsx

This file was deleted.

42 changes: 0 additions & 42 deletions app/assets/components/DashboardCard/index.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions app/assets/components/DashboardSelect/index.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions app/assets/components/Instruction/index.tsx

This file was deleted.

Loading

0 comments on commit dc3e676

Please sign in to comment.