Installation Fedora Dev Environment¶
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 and clone Ghost-Admin on GitHub so that they appear in your own repositories
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 Production Environment¶
sudo npm install ghost-cli@latest -g
create webserver directory with mkdir -p /var/www/myghostdirectory
make sure correct permissions, chown to the user it should run as, chmod 755
cd /var/www/myghostdirectory
ghost install
First Steps¶
- https://ghost.org/tutorials/
- https://ghost.org/tutorials/creating-content-collections/
- https://demo.ghost.io/the-editor/
Adding Another Ghost Instance on the Same System¶
- Create an empty directory for this Ghost instance and grant ownership to the user who will run it, here: /opt/junicast.de
- cd /opt/junicast.de
- ghost install
- Create a new database on the corresponding SQL host so Ghost can store its data there
Update Ghost CLI
sudo npm install -g ghost-cli@latest
Markdown¶
| Result | Markdown | Keyboard Shortcut |
|---|---|---|
| Bold | **test** / __test__ | CTRL/⌘ + B |
| Italic | *text* | CTRL/⌘ + I |
| ~Strikethrough~ | ~~text~~ | CTRL + Alt + U |
| Text^supertext^ | Text\^supertext^ | |
| Text~subtext~ | Text\~subtext~ | |
| Link | [title](https://) | CTRL/⌘ + K |
| Inline Code | `code` | CTRL/⌘ + Shift + K |
| Image |  | CTRL/⌘ + Alt + L |
| List | * item | CTRL + L |
| Ordered List | 1. item | CTRL/⌘ + Alt + L |
| Blockquote | > quote | CTRL + Q |
| Highlight | \==Highlight== | |
| Heading 1 | # Heading | |
| Heading 2 | ## Heading | CTRL/⌘ + H |
| Heading 3 | ### Heading | CTRL/⌘ + H (x2) |