A templte editor for Thinreports to edit Basic Format template.
With the addition of the new template format Section Format and its editor Section Editor, the editor has been renamed to Thinreports Basic Editor from Thinreports Editor.
See Two Available Formats for more information.
- macOS 10.15+
- Windows 10
- Ubuntu 18.04+
Please download the package from the Releases and install it.
- JDK 6+
- Python 2.7
- Node.js
Install dependencies:
npm install
Compile javascript, css and templates:
npm run compile
Launch Editor on development:
npm start
Watch and compile:
npm run watch
Build package for macOS, Windows, Ubuntu(linux):
npm run build
Run compilation and building the production version app:
npm run release
Or if you can use docker, you can compile script and css:
docker build -t thinreports-basic-editor:latest .
docker run --rm -v $PWD:/src:cached thinreports-basic-editor:latest
Compiling JavaScript with SIMPLE_OPTIMIZATIONS...
And, launch electron on development:
npm start
This steps are for releasing a new version of Editor.
The following two files need to be updated.
- app/editor/version.js
- app/package.json
- CHANGELOG.md (required)
- README.md (if needed)
Pushing to build/*
branch runs a job to build the package. Make sure that the built packages for each platform work properly. You can download the packages from the artifact of the build. For more information.
If there is no problem, create a pull request.
Pushing a tag runs a job to build and release package. Check the followings:
- Correct version and content of the release
- All package files are attached to the release