Skip to content

Commit

Permalink
$hyoo_budget: initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Nov 14, 2024
1 parent b20e6e4 commit 34630a0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 49 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/hyoo_budget_app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: $hyoo_budget_app

# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-permissions
permissions: write-all

on:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: "0 7 * * *"

jobs:
build:

runs-on: ubuntu-latest

steps:

- uses: hyoo-ru/mam_build@master2
with:
package: 'hyoo/budget'
modules: 'app'

- uses: hyoo-ru/[email protected]
if: github.ref == 'refs/heads/master'
with:
folder: 'hyoo/budget/app/-'
39 changes: 0 additions & 39 deletions .github/workflows/hyoo_template_app.yml

This file was deleted.

2 changes: 1 addition & 1 deletion app/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.hyoo.ru
budget.hyoo.ru
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- <link href="hyoo/.../logo/logo.svg" rel="icon" /> --> <!--FIXME change to actual logo path -->
</head>
<body mol_view_root>
<div mol_view_root="$hyoo_template_app"></div> <!--FIXME change to actual app name -->
<div mol_view_root="$hyoo_budget_app"></div>
<script src="web.js" charset="utf-8"></script>
</body>
</html>
14 changes: 6 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Template Repo
# Private Budget

Template repo to fast make new $hyoo apps.
" Веб-приложение для ведения личного бюджета.

## After Make
# Особенности

- [ ] [Rename app then update index.html and CNAME](./app).
- [ ] [Update GitHub Workflow](.github/workflows).
- [ ] Update repo description and link to app at the GitHub.
- [ ] [Add this repo to $hyoo namespace](https://github.com/hyoo-ru/mam_hyoo/blob/master/hyoo.meta.tree).
- [ ] Rewrite this readme.
🔒 **Безопасность**: Все данные хранятся в зашифрованном виде.
✈️ **Оффлайн**: Полная работоспособность даже без сети.
🚀 **Реактивность**: Мгновенная синхронизация между девайсами.

0 comments on commit 34630a0

Please sign in to comment.