User Tools

Site Tools


ghost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ghost [2021/07/26 13:23] – создано chifekghost [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
  
-<CODE>npm install ghost-cli@latest -g</CODE+''npm install ghost-cli@latest -g'' 
 + 
 + 
 + 
 +===== Install Ghost ===== 
 + 
 +In your terminal, cd into an empty directory and run the install command: 
 + 
 +''ghost install local'' 
 + 
 +Once the install is finished you’ll be able to access your new site on http://localhost:2368 and http://localhost:2368/ghost to access Ghost Admin 
 + 
 + 
 + 
 +**That’s it! You’re done.** 
 + 
 +  * Your publication is setup in ''development'' mode with less caching 
 +  * The SQLite3 database is auto-setup and located in ''/content/data/'' 
 +  * Logs only go to ''stdout'' 
 + 
 + 
 +===== Starting & Stopping ===== 
 + 
 +Ghost runs in a separate background process and remains running until you stop it or restart your computer. So you may find these commands useful for taming it: 
 + 
 +  * ''ghost stop'' to stop Ghost 
 +  * ''ghost start'' to start Ghost 
 +  * ''ghost log'' views logs 
 +  * ''ghost ls'' to list all running Ghost blogs 
 + 
 +Run ''ghost help'' for a list of available commands, or explore the full Ghost-CLI documentation. 
 + 
 +==== Troubleshooting ==== 
 + 
 +For troubleshooting and errors, try searching this documentation and FAQ section to find information about common error messages.
ghost.1627305811.txt.gz · Last modified: 2023/09/14 06:06 (external edit)