3.7 KiB
- logs
- logrotate config
- is_public
- auto set up admin section
- mail in config.js : what's this ?
- add to ynh service list
- reduce size of install tree
- check if path contains "ghost", refused by ghost
- mysql instead of sqlite
- change installation path
- change pid file path
- cleanup pid file
- check password length (>=8)
- download theme police, install locally to avoid google requests
- get rid of ghost.org call
- go multi-instance ?
- use shrink to fix dependencies version. cf. https://www.npmjs.org/doc/shrinkwrap.html
- implement upgrade
- if public, block access to admin section via sso
- support installation on root of subdomain
- test non-public install
- translate manifest
- aptitude update
- service ynh-ghostblog restart FAIL
- move to ghost 0.4.2
- expose main site on http, admin on https
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
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
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">