swimmer-sessions
v1.4.1
Published
Swimmer sessions app.
Readme
Swimmer ( Personal Edition )
Swimmer app using ScalaFx, ScalikeJdbc, H2, HikariCP, Ox, jDeploy and Scala 3.
Install
- Select Swimmer
- 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.
Model
A session represents a workout.
- Swimmer 1 ---> * Session
Calculations
Build
sbt clean compile
Test
sbt clean test
Run
sbt run
Assembly
sbt clean test assembly copyAssemblyJar
Execute
java -jar .assembly/swimmer-$version.jar
Deploy
- edit build.sbt ( version )
- edit app.conf ( about > alert > contentText )
- edit package.json ( version + jdeploy / jar )
- sbt clean test assembly copyAssemblyJar
- perform github release ( from https://github.com/objektwerks/swimmer.p )
- npm login
- jdeploy publish ( to https://www.jdeploy.com/~swimmer-sessions )
- 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.
- Edit jDeploy package.json as required.
- Add jdeploy and jdeploy-bundle to .gitignore
See jDeploy Docs for details.
NPM Versioning
The
build.sbtmust contain asemver 3-digitversion number. See: Npmjs Semver
NPM Registry
Swimmer is deployed to: https://www.npmjs.com/package/swimmer-sessions
Resources
License
Copyright (c) [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.
