diff --git a/.editorconfig b/.editorconfig index 4892518..f985a36 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,11 @@ charset = utf-8 trim_trailing_whitespace = false quote_type = single -[*.{yml, md}] +[*.yml] +end_of_line = lf +insert_final_newline = true indent_style = space indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = false +quote_type = single diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..742f1d4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +on: + push: + branches: [ "deploy/prod" ] + pull_request: + branches: [ "deploy/prod" ] + +name: 🚀 Deploy website on push +jobs: + web-deploy: + name: 🎉 Deploy + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v2 + + - name: 🔨 Build Project + run: | + npm ci + npm run build + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@4.3.2 + with: + server: 305244.w44.wedos.net + username: w305244_BOT007 + password: ${{ secrets.FTP_PASSWORD }} + local-dir: ./dist/ diff --git a/.gitignore b/.gitignore index 4f9d5ac..5cee774 100644 --- a/.gitignore +++ b/.gitignore @@ -23,5 +23,5 @@ dist-ssr *.sln *.sw? -# appwrite -appwrite +# php +public/api/vendor diff --git a/README.md b/README.md index a591eed..d92f2da 100644 --- a/README.md +++ b/README.md @@ -1,229 +1,10 @@ -# Svelte + Appwrite = 🚀 +# Geohry -## Appwrite svelte template +Vzdělávejte se mimo lavice. Nechte se provést atraktivními lokacemi, vyřešte mnoho výzev a objevte nejednu geografickou zajímavost s bezplatnou mobilní aplikací. -Blazing fast development with done backend and fully-prepared frontend. +1. Hrací režim +2. QR kódy +3. Nacházení blízkých her do x km a jejich seznam +4. Přihlašování/registrace -CMS ready! - -## Appwrite installation - -[Appwrite installation](https://appwrite.io/docs/installation) - -## Frontend included - -* tailwind -* scss -* css reset -* typescript -* routing -* ready routes -* oauth -* files upload, download -* folder structure -* common components -* service worker -* path aliases -* database realtime subscribers -* database paginate, infinity scroll -* i18n -* cms -* cms forms components -* vite -* prettier -* editorconfig -* icons: [Bootstrap icons](https://icons.getbootstrap.com/) - -## Database subscribers - -```svelte - - -
Loading data from database...
- {:else} - {#each [...$subscriber, ...$insertSubscriber] as item} -{item.name}
- {/each} - {/if} -{item.name}
- {/each} -Change language:
- - -Je nám líto ale tento zážitek nebyl nalezen.
+