Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "For reference, you can see a sample config.js file in the .zip file that came with this book."

A block of code is set as follows:

server {
    listen 80;
    listen 443 ssl;
    server_name <your domain name>.com www.<your domain name>.com;
    ssl_certificate        /etc/nginx/ssl/<your domain name>/<your domain name>.com.crt;
    ssl_certificate_key    /etc/nginx/ssl/<your domain name>/<your domain name>.com.pem;

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_pass         http://127.0.0.1:2368;
    }
}

Any command-line input or output is written as follows:

cd path/to/ghost/folder
mkdir temp
cd temp/
wget https://ghost.org/zip/ghost-latest.zip
unzip ghost-latest.zip
cd ..
sudo cp temp/*.md temp/*.js temp/*.json .
sudo sudo rm -R core
sudo cp -R temp/core .
sudo cp -R temp/content/themes/casper content/themes
sudo npm install --production
sudo rm -R temp

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Both the settings can be accessed via the Settings tab in the top admin menu."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.66.126