homeschooler
v16.0.0
Published
Homeschool app.
Downloads
44
Readme
Homeschooler
Homeschool app using ScalaFx, Slick, H2, Ox, jDeploy and Scala 3.
Install
- Select Homeschool
- Select a platform to download a compressed app installer.
- Decompress app installer.
- Install app by double-clicking app installer.
- Select app icon to launch app.
This install has been tested on macOS.
Object Model
- Student (id, name, born)
- Grade (id, studentid, grade, started, completed)
- Course (id, gradeid, name, started, completed)
- Assignment (id, courseid, task, assigned, completed, score)
Relational Model
- Student 1 ---> * Grade 1 ---> * Course 1 ---> * Assignement
Panes
- top west pane - students
- top east pane - grades
- bottom west pane - courses
- bottom east pane - assignments
Charts
- courses - bar chart ( x = name, y = score, c = name )
- assignments - line chart ( x = completed, y = score )
Build
sbt clean compile
Test
sbt clean test
Run
sbt run
Assembly
sbt clean test assembly copyAssemblyJar
Execute
java -jar .assembly/homeschooler-$version.jar
Deploy
- edit build.sbt ( jarVersion + version )
- edit package.json ( version + jdeploy / jar )
- edit app.conf ( about > alert > contentText )
- sbt clean test assembly copyAssemblyJar
- perform github release ( from https://github.com/objektwerks/homeschooler )
- npm login
- jdeploy publish ( to https://www.jdeploy.com/~homeschooler )
- check email for npm message
See jDeploy Docs for details.
jDeploy Install
- Setup npm account at npmjs.com
- Install node, which installs npm, which bundles npx.
- Install jdeploy via npm - npm install -g jdeploy
- Add icon.png ( 256x256 or 512x512 ) to project root and resources/images.
- Edit jDeploy package.json as required.
- Add jdeploy and jdeploy-bundle to .gitignore
See jDeploy Docs for details.
jDeploy Issues
- jDeploy publish fails due to npm 2fa one-time password error.
- See: Github Solution
- macOS app icon not rendered correctly in Dock and Launchpad.
- Ensure app icon ( ./icon.png + ./src/main/resources/image/icon.png ) is at least 256x256. 512x512 is recommended.
- See objektwerks.App stage.icons, Taskbar and Toolkit code for details.
NPM Versioning
The
build.sbtmust contain asemver 3-digitversion number. See: Npmjs Semver
NPM Registry
Homeschooler is deployed to: https://www.npmjs.com/package/homeschooler
License
Copyright (c) [2018 - 2025] [Objektwerks]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
