Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ghost] switch to ghost-cli's ghost update #1253

Merged
merged 8 commits into from
Apr 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ghost] fix URL change command
  • Loading branch information
SalocinHB committed Apr 28, 2022
commit 00753b2a045dc7f29132bcb54fc8887803038b42
16 changes: 2 additions & 14 deletions source/guide_ghost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,22 +192,10 @@ Update URL with ghost-cli as followed. Change the URL to your external URL in th
:emphasize-lines: 2

[isabell@stardust ~]$ cd ~/ghost/
[isabell@stardust ghost]$ ghost config url https://my-domain.com
[isabell@stardust ghost]$ ghost config --url https://example.com
[isabell@stardust ghost]$

You now need to readjust your ``~/ghost/config.production.json`` to change the URL for Ghost. Change the URL to your external URL in the respective highlighted line:

.. code-block:: none
:emphasize-lines: 2

{
"url": "https://my-domain.com",
"server": {
"port": 2368,
"host": "0.0.0.0"
},

Kill and restart Ghost (also check the restarted process with second command):
Restart Ghost (also check the restarted process with second command):

.. code-block:: console

Expand Down