Installation Fedora Dev Umgebung¶
dnf install nodejs npm nodejs-yarn
sudo npm install ghost-cli -g
yarn global add knex-migrator grunt-cli ember-cli bower
sudo npm install yarn -g
yarn global add knex-migrator grunt-cli ember-cli bower
clone Ghost und clone Ghost-Admin auf github, so dass man es bei den eigenen Repositories angezeigt bekommt
git clone --recurse-submodules https://github.com/TryGhost/Ghost.git && cd Ghost
git remote rename origin upstream
git remote add origin https://github.com/imp1sh/Ghost.git
cd core/client
git remote rename origin upstream
git remote add origin https://github.com/imp1sh/Ghost-Admin.git
cd ../..
Installation Fedora Produktiv Umgebung¶
sudo npm install ghost-cli@latest -g
create webserver directory with mkdir -p /var/www/meinghostverzeichnis
make sure correct permissions, chown to the user it should run as, chmod 755
cd /var/www/meinghostverzeichnis
ghost install
Erste Schritte¶
- https://ghost.org/tutorials/
- https://ghost.org/tutorials/creating-content-collections/
- https://demo.ghost.io/the-editor/
Weitere Ghost Instanz auf System anlegen¶
- leeres Verzeichnis für diese Ghost Instanz anlegen und dem Benutzer der es laufen lassen wird die Rechte an dem Ordner geben, hier: /opt/junicast.de
- cd /opt/junicast.de
- ghost install
- Neue Datenbank anlegen auf dem entsprechenden SQL host, damit Ghost dort seine Daten ablegen kann
Ghost CLI aktualisieren
sudo npm install -g ghost-cli@latest
Markdown¶
| Ergebnis | Markdown | Tastenkombination |
|---|---|---|
| Fett | **test** / __test__ | CTRL/⌘ + B |
| Kursiv | *text* | CTRL/⌘ + I |
| ~Durchstreichen~ | ~~text~~ | CTRL + Alt + U |
| Text^supertext^ | Text\^supertext^ | |
| Text~subtext~ | Text\~subtext~ | |
| Link | [title](https://) | CTRL/⌘ + K |
| Inline Code | `code` | CTRL/⌘ + Shift + K |
| Bild |  | CTRL/⌘ + Alt + L |
| Liste | * Eintrag | CTRL + L |
| Sortierte Liste | 1. Eintrag | CTRL/⌘ + Alt + L |
| Blockquote | > quote | CTRL + Q |
| Hervorheben | \==Hervorheben== | |
| Überschrift 1 | # Überschrift | |
| Überschrift 2 | ## Überschrift | CTRL/⌘ + H |
| Überschrift 3 | ### Überschrift | CTRL/⌘ + H (x2) |