mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
commit
551212d15a
7 changed files with 11 additions and 112 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Publishing, memberships, subscriptions and newsletters platform
|
||||
|
||||
**Shipped version:** 4.32.1~ynh1
|
||||
**Shipped version:** 4.35.0~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -30,14 +30,14 @@ Publishing, memberships, subscriptions and newsletters platform
|
|||
## Installation
|
||||
|
||||
1. No LDAP support.
|
||||
1. You need more then **1GB** of ram. If you don't have it, please create a **swap memory**.
|
||||
1. You need more than **1GB** of ram. If you don't have it, please create a **swap memory**.
|
||||
|
||||
dd if=/dev/zero of=/swapfile bs=1024 count=1048576
|
||||
mkswap /swapfile
|
||||
swapon /swapfile
|
||||
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
|
||||
|
||||
1. This app is multi-instance (you can have more then one Ghost blogging websites on a single YunoHost server)
|
||||
1. This app is multi-instance (you can have more than one Ghost blogging websites on a single YunoHost server)
|
||||
|
||||
### Installing the Ghost app
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Plateforme d'édition, d'adhésions, d'abonnements et de newsletters
|
||||
|
||||
**Version incluse :** 4.32.1~ynh1
|
||||
**Version incluse :** 4.35.0~ynh1
|
||||
|
||||
|
||||
|
||||
|
|
101
TODO.org
101
TODO.org
|
@ -1,101 +0,0 @@
|
|||
#+STARTUP: indent
|
||||
#+TODO: TODO BLOCKED DONE
|
||||
* DONE logs
|
||||
* DONE logrotate config
|
||||
* DONE is_public
|
||||
* DONE auto set up admin section
|
||||
** curl call seems ok but I get a 403 (XSRF ?)
|
||||
* DONE mail in config.js : what's this ?
|
||||
** mails are working
|
||||
** http://docs.ghost.org/usage/configuration/
|
||||
* DONE add to ynh service list
|
||||
** how do i do that ??
|
||||
* DONE reduce size of install tree
|
||||
admin@yunohost:/home/yunohost.app/ghostblog$ du -sh *
|
||||
50M ghost
|
||||
|
||||
admin@yunohost:/home/yunohost.app/ghostblog$ du -sh ghost/*
|
||||
4.0K ghost/config.example.js
|
||||
4.0K ghost/config.js
|
||||
176K ghost/content
|
||||
4.5M ghost/core
|
||||
36K ghost/Gruntfile.js
|
||||
4.0K ghost/index.js
|
||||
4.0K ghost/LICENSE
|
||||
45M ghost/node_modules
|
||||
4.0K ghost/package.json
|
||||
8.0K ghost/README.md
|
||||
|
||||
* DONE check if path contains "ghost", refused by ghost
|
||||
* DONE mysql instead of sqlite
|
||||
** http://docs.ghost.org/usage/configuration/
|
||||
* DONE change installation path
|
||||
* DONE change pid file path
|
||||
** let's stay with /var/run/yunohost/ghostblog for the moment
|
||||
* DONE cleanup pid file
|
||||
* DONE check password length (>=8)
|
||||
* DONE download theme police, install locally to avoid google requests
|
||||
** download theme police
|
||||
//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic|Open+Sans:700,400"
|
||||
|
||||
-->
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/eCpfeMZI7q4jLksXVRWPQxsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/lJAvZoKA5NttpPc9yc6lPQFhaRv2pGgT5Kf0An0s4MM.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(https://themes.googleusercontent.com/static/fonts/notoserif/v2/HQXBIwLHsOJCNEQeX9kNz3hCUOGz7vYGh680lGh-uXM.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Open Sans'), local('OpenSans'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
|
||||
}
|
||||
|
||||
wget de tous ces fichiers dans content/themes/casper/assets/fonts
|
||||
|
||||
core/client/assets/fonts
|
||||
/core/server/views/default.hbs
|
||||
** install locally in themes/casper/assets/fonts ?
|
||||
** modify assets/css ?
|
||||
** modify default.hbs
|
||||
**
|
||||
** also in core
|
||||
*** add client/assets/fonts/OpenSans*
|
||||
*** add client/assets/css/fonts.css
|
||||
*** admin@yunohost:/var/www/ghostblog/ghost/core$ grep -rn fonts.google *
|
||||
server/views/user-error.hbs:19: <link rel="stylesheet" type='text/css' href='//fonts.googleapis.com/css?family=Open+Sans:400,300,700'>
|
||||
server/views/default.hbs:30: <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,700">
|
||||
***
|
||||
* DONE get rid of ghost.org call
|
||||
** this is in the default blog post, the icon used in the site are taken from the icons.woff font
|
||||
* TODO go multi-instance ?
|
||||
* DONE use shrink to fix dependencies version. cf. https://www.npmjs.org/doc/shrinkwrap.html
|
||||
* TODO implement upgrade
|
||||
* DONE if public, block access to admin section via sso
|
||||
* DONE support installation on root of subdomain
|
||||
* DONE test non-public install
|
||||
* DONE translate manifest
|
||||
* DONE aptitude update
|
||||
* DONE service ynh-ghostblog restart FAIL
|
||||
* DONE move to ghost 0.4.2
|
||||
* DONE expose main site on http, admin on https
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v4.32.1.zip
|
||||
SOURCE_SUM=cd642643800f09e82412be9f481de4a051d7bda7433c9e78728ae63f98425f05
|
||||
SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v4.35.0.zip
|
||||
SOURCE_SUM=0fb0dc985ce0ce81d5c5ae4293fad3918c5c353fe3fad7bddb907a8df3b984cc
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/TryGhost/Ghost/releases/download/v4.32.1/Ghost-4.32.1.zip
|
||||
SOURCE_SUM=c72e311301e0491ddea07c8a18c0d9daaf5181da40d2e9074eaae65aa4087e2c
|
||||
SOURCE_URL=https://github.com/TryGhost/Ghost/releases/download/v4.35.0/Ghost-4.35.0.zip
|
||||
SOURCE_SUM=96ff8beadb81e09b53f86df4b10fe8f621f73d304a1129f87b870039e30fd0c8
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
## Installation
|
||||
|
||||
1. No LDAP support.
|
||||
1. You need more then **1GB** of ram. If you don't have it, please create a **swap memory**.
|
||||
1. You need more than **1GB** of ram. If you don't have it, please create a **swap memory**.
|
||||
|
||||
dd if=/dev/zero of=/swapfile bs=1024 count=1048576
|
||||
mkswap /swapfile
|
||||
swapon /swapfile
|
||||
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
|
||||
|
||||
1. This app is multi-instance (you can have more then one Ghost blogging websites on a single YunoHost server)
|
||||
1. This app is multi-instance (you can have more than one Ghost blogging websites on a single YunoHost server)
|
||||
|
||||
### Installing the Ghost app
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Publishing, memberships, subscriptions and newsletters platform",
|
||||
"fr": "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters"
|
||||
},
|
||||
"version": "4.32.1~ynh1",
|
||||
"version": "4.35.0~ynh1",
|
||||
"url": "https://ghost.org/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
Loading…
Add table
Reference in a new issue