Skip to content

Commit

Permalink
feat: move to dioxus in a self-contained PWA (#17)
Browse files Browse the repository at this point in the history
* feat: dioxus

* fix: use &Quote instead of cloning Quote

* deps: add dioxus

* deps: add dioxus

Signed-off-by: Jose Storopoli <[email protected]>

* chore: move code to dioxus

Signed-off-by: Jose Storopoli <[email protected]>

* chore: remove devcontainers

Signed-off-by: Jose Storopoli <[email protected]>

* update readme

Signed-off-by: Jose Storopoli <[email protected]>

* ci: add gh-pages

Signed-off-by: Jose Storopoli <[email protected]>

* chore: remove docker

Signed-off-by: Jose Storopoli <[email protected]>

* chore: fmt

Signed-off-by: Jose Storopoli <[email protected]>

---------

Signed-off-by: Jose Storopoli <[email protected]>
  • Loading branch information
storopoli authored Dec 2, 2024
1 parent 23c7c19 commit 61662e7
Show file tree
Hide file tree
Showing 23 changed files with 2,872 additions and 699 deletions.
27 changes: 0 additions & 27 deletions .devcontainer/devcontainer.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "devcontainers"
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: weekly
56 changes: 0 additions & 56 deletions .github/workflows/docker-publish.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/docker.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: GitHub Pages

env:
CARGO_TERM_COLOR: always

on:
push:
branches:
- main

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
# For the push to `gh-pages` branch.
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Install Dioxus
run: cargo install dioxus-cli
- name: Build app
run: dx build --release
- name: Deploy Project 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
65 changes: 0 additions & 65 deletions .github/workflows/release.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
debug/
target/

# using version bounds in Cargo.toml
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -16,5 +13,5 @@ Cargo.lock
node_modules
package-lock.json

# MacOS
.DS_Store
# Dioxus stuff
dist/
7 changes: 7 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@
"group": "test",
"label": "rust: cargo clippy"
},
{
"type": "shell",
"command": "dx serve --hot-reload",
"problemMatcher": [],
"group": "build",
"label": "dioxus: serve",
}
]
}
Loading

0 comments on commit 61662e7

Please sign in to comment.