Compare commits
6 Commits
dff4b1620b
...
aa3a6cf155
| Author | SHA1 | Date | |
|---|---|---|---|
| aa3a6cf155 | |||
| 4b57ebb5ea | |||
| 465569c109 | |||
| e70f25b8ef | |||
| 675a6b7c07 | |||
| 0bb40881a3 |
30
TODO.md
30
TODO.md
@ -126,20 +126,26 @@
|
|||||||
|
|
||||||
### open
|
### open
|
||||||
|
|
||||||
- favicon checken: https://realfavicongenerator.net/favicon_checker
|
- unter die GPL stellen
|
||||||
- Links zu den versch. favicons fkt. nicht: sie lauten /… statt /sr2ini/…
|
- https://www.gnu.org/licenses/gpl-howto.html
|
||||||
- Lösung: parcel serve / parcel build braucht als --public-url "./" (statt "/"), dann werden die Links korrekt erzeugt
|
|
||||||
- neues Problem: dann fkt. parcel serve aber nicht mehr; statt CSS/JS/favicon-Files wird jedes Mal index.html serviert
|
|
||||||
- bekanntes Problem: https://github.com/parcel-bundler/parcel/issues/857
|
|
||||||
- kein Workaround fkt für mich
|
|
||||||
- was fkt: parcel serve durch anderen HTTP-Server ersetzen
|
|
||||||
- parcel build
|
|
||||||
- im Dist-Verz.: python3 -m http.server
|
|
||||||
- CORS-Fehler im Firefox vermeiden: about:config -> content.cors.disable = true
|
|
||||||
|
|
||||||
- sr2ini_ynh auf neue Version bringen
|
- sr2ini_ynh auf neue Version bringen
|
||||||
- Screenshot ersetzen
|
- manifest: Version, tarball URL und sha256 ersetzen
|
||||||
- tarball ersetzen
|
- README.md: Version ersetzen
|
||||||
|
- ggf. doc/screenshots/sr2ini-screenshot.jpg ersetzen (960x640)
|
||||||
|
- favicon checken: https://realfavicongenerator.net/favicon_checker
|
||||||
|
- jetzt fkt. immer noch nicht die URLs im Icon manifest
|
||||||
|
- x Links zu den versch. favicons fkt. nicht: sie lauten /… statt /sr2ini/…
|
||||||
|
- x Lösung: parcel build braucht als --public-url "./" (statt "/"), dann werden die Links korrekt erzeugt
|
||||||
|
- neues Problem: für parcel serve fkt. das nicht; statt CSS/JS/favicon-Files wird jedes Mal index.html serviert
|
||||||
|
- edit: jetzt geht's wieder (nachdem ich sr2ini.iconmanifest zurückbenannt hatte nach site.webmanifest)
|
||||||
|
- bekanntes Problem: https://github.com/parcel-bundler/parcel/issues/857
|
||||||
|
- Workaround: weiter --public-url / verwenden
|
||||||
|
- WICHTIG: fürs Deployment muss ich dann immer die mit parcel build erzeugten Dateien verwenden
|
||||||
|
- was auch geht, ist aber umständlich: parcel serve durch anderen HTTP-Server ersetzen
|
||||||
|
- parcel build
|
||||||
|
- im Dist-Verz.: python3 -m http.server
|
||||||
|
- CORS-Fehler im Firefox vermeiden: about:config -> content.cors.disable = true
|
||||||
- Deployment:
|
- Deployment:
|
||||||
- CI/CD: es gibt Jenkins für Yunohost
|
- CI/CD: es gibt Jenkins für Yunohost
|
||||||
- hier ist ein Tutorial, um Jenkins und Gitea miteinander bekannt zu machen: https://mike42.me/blog/2019-05-how-to-integrate-gitea-and-jenkins
|
- hier ist ein Tutorial, um Jenkins und Gitea miteinander bekannt zu machen: https://mike42.me/blog/2019-05-how-to-integrate-gitea-and-jenkins
|
||||||
|
|||||||
@ -1,21 +0,0 @@
|
|||||||
# Your Favicon Package
|
|
||||||
|
|
||||||
This package was generated with [RealFaviconGenerator](https://realfavicongenerator.net/) [v0.16](https://realfavicongenerator.net/change_log#v0.16)
|
|
||||||
|
|
||||||
## Install instructions
|
|
||||||
|
|
||||||
To install this package:
|
|
||||||
|
|
||||||
Extract this package in the root of your web site. If your site is <code>http://www.example.com</code>, you should be able to access a file named <code>http://www.example.com/favicon.ico</code>.
|
|
||||||
|
|
||||||
Insert the following code in the `head` section of your pages:
|
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
||||||
<link rel="manifest" href="/site.webmanifest">
|
|
||||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#004aa5">
|
|
||||||
<meta name="msapplication-TileColor" content="#2b5797">
|
|
||||||
<meta name="theme-color" content="#ffffff">
|
|
||||||
|
|
||||||
*Optional* - Check your favicon with the [favicon checker](https://realfavicongenerator.net/favicon_checker)
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
||||||
<link rel="manifest" href="/site.webmanifest">
|
|
||||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#004aa5">
|
|
||||||
<meta name="msapplication-TileColor" content="#2b5797">
|
|
||||||
<meta name="theme-color" content="#ffffff">
|
|
||||||
@ -3,12 +3,12 @@
|
|||||||
"short_name": "sr2ini",
|
"short_name": "sr2ini",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/icons/android-chrome-192x192.png",
|
"src": "android-chrome-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/icons/android-chrome-512x512.png",
|
"src": "android-chrome-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
|
||||||
"clean": "rm -rf dist/ && rm -rf .parcel-cache/",
|
"clean": "rm -rf dist/ && rm -rf .parcel-cache/",
|
||||||
"build": "npx parcel build --no-optimize --public-url ./",
|
"build": "npx parcel build --no-optimize --public-url ./ --dist-dir dist",
|
||||||
"test": "jest --coverage --env=jsdom",
|
"test": "jest --coverage --env=jsdom",
|
||||||
"webhint": "hint http://localhost:1234"
|
"webhint": "hint http://localhost:1234"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,13 +14,14 @@
|
|||||||
|
|
||||||
<script type="module" src="js/sr2ini.js"></script>
|
<script type="module" src="js/sr2ini.js"></script>
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="../icons/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="../icons/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="../icons/favicon-16x16.png">
|
||||||
<link rel="manifest" href="/icons/sr2ini.iconmanifest">
|
<link rel="manifest" href="../icons/site.webmanifest">
|
||||||
<link rel="shortcut icon" href="/icons/favicon.ico">
|
<link rel="mask-icon" href="../icons/safari-pinned-tab.svg" color="#004aa5">
|
||||||
|
<link rel="shortcut icon" href="../icons/favicon.ico">
|
||||||
<meta name="msapplication-TileColor" content="#004aa5">
|
<meta name="msapplication-TileColor" content="#004aa5">
|
||||||
<meta name="msapplication-config" content="/icons/browserconfig.xml">
|
<meta name="msapplication-config" content="../icons/browserconfig.xml">
|
||||||
<meta name="theme-color" content="gold">
|
<meta name="theme-color" content="gold">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user