mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-25 13:50:21 +08:00
1021 B
1021 B
Developers Guide
Running dashboard server
Building TypeScript files
Node.js v14.14.0 is required to build TypeScript files.
$ npm install
$ npm run build:dev
Watch for files changes
$ npm run watch
Production builds
$ npm run build:prd
Running servers
$ pip install .
$ optuna-dashboard sqlite:///db.sqlite3
Running formatters
Auto-formatting TypeScript files
$ npm run fmt
Auto-formatting Python files
$ pip install .[lint]
$ black .
Release process
The release process is fully automated by GitHub Actions. GitHub Actions will be automatically building TypeScript, packaging the distributions and uploading to PyPI after you pushed the new git tag to the GitHub.
- Replace 'optuna_dashboard.version.version' to the next version.
- Create a git tag (e.g.
$ git tag v0.X.Y). - Push the tag to GitHub (e.g.
$ git push origin v0.X.Y)