Skip to content

Commit

Permalink
Publish app
Browse files Browse the repository at this point in the history
  • Loading branch information
nigeleke committed Oct 16, 2024
1 parent 6050ca9 commit 3b59540
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 36 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
fetch-depth: 0

- name: Build
- name: Build Site
run: |
cargo doc --no-deps
cargo install cargo-tarpaulin
Expand All @@ -40,6 +40,11 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Build App
run: |
cargo install dioxus-cli
dx build --release
- name: Publish
run: |
git config --global user.email "[email protected]"
Expand All @@ -48,6 +53,8 @@ jobs:
git checkout gh-pages
rm -rf docs
mv docs0 docs
mkdir docs/app/
mv -R dist/* docs/app/
git add .
git commit -m "Release $VERSION"
git push
29 changes: 0 additions & 29 deletions .github/workflows/release.yml

This file was deleted.

File renamed without changes.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
[![Coverage](https://img.shields.io/codecov/c/github/nigeleke/scopa?style=plastic)](https://codecov.io/gh/nigeleke/scopa)
![Version](https://img.shields.io/github/v/tag/nigeleke/scopa?style=plastic)

[Site](https://nigeleke.github.io/scopa) \| [GitHub](https://github.com/nigeleke/scopa) \| [API](https://nigeleke.github.io/scopa/api/index.html) \| [Coverage Report](https://nigeleke.github.io/scopa/coverage/index.html)
[Site](https://nigeleke.github.io/scopa) \| [GitHub](https://github.com/nigeleke/scopa) \| [API](https://nigeleke.github.io/scopa/api/index.html) \| [Coverage Report](https://nigeleke.github.io/scopa/coverage/index.html) \| [App](https://nigeleke.github.io/scopa/app/)

[Scopa](https://en.wikipedia.org/wiki/Scopa) is a popular Italian card game played by two to four players.

## Background

I first discovered this card game during a holiday in Puglia in August 2024. In order to complete the scoring I set up a spreadsheet to track each round for each player. It worked but was not easy to navigate or reset.
I initially discovered Scopa during a holiday in Puglia in August 2024. For a beginner especially it's scoring seemed somewhat complicated and I setup a spreadsheet to track each round of scores for each player. It worked but was not easy to navigate or reset or add additional players.

I decided to write this program:

a) to have a simpler way to score the game and
b) to complete a development using the [Dioxus](https://dioxuslabs.com/) framework (by way of a comparison against earlier work developed using [Leptos](https://www.leptos.dev/)).
a) to have a simpler way to score the game and
b) to complete a development using the [Dioxus](https://dioxuslabs.com/) framework (by way of a comparison against earlier work developed using [Leptos](https://www.leptos.dev/)).

The project is essentially complete but some further work will be done for usabiity.
As of October 2024 the project is essentially complete but some further work will be done on the UI graphics and usability.

## Development

Expand All @@ -30,7 +30,7 @@ cargo test
## Run

```bash
dx serve --hot-reload
dx serve
```

- Open the browser to http://localhost:8080

0 comments on commit 3b59540

Please sign in to comment.