Skip to content

Commit

Permalink
ghost install local; gitignore; relative path refs;
Browse files Browse the repository at this point in the history
  • Loading branch information
caminashell committed Feb 3, 2024
1 parent 52a81ed commit 5e7f0b6
Show file tree
Hide file tree
Showing 1,487 changed files with 349,952 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ghost-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"active-version": "5.79.0",
"cli-version": "1.25.3",
"channel": "stable",
"name": "ghost-local"
}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**/*.log
.ghostpid
.pnp.*
.vscode
**/.yarn/*
!**/.yarn/releases
!**/.yarn/plugins
**/node_modules
26 changes: 26 additions & 0 deletions config.development.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"url": "http://localhost:2370/",
"server": {
"port": 2370,
"host": "127.0.0.1"
},
"database": {
"client": "sqlite3",
"connection": {
"filename": "./content/data/ghost-local.db"
}
},
"mail": {
"transport": "Direct"
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "local",
"paths": {
"contentPath": "./content"
}
}
Binary file added content/data/ghost-local.db
Binary file not shown.
1 change: 1 addition & 0 deletions content/public/.well-known/recommendations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions content/public/admin-auth/admin-auth.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions content/public/admin-auth/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script src="admin-auth.min.js"></script>
</head>
</html>
1 change: 1 addition & 0 deletions content/public/cards.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions content/public/cards.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions content/public/comment-counts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions content/public/member-attribution.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions content/settings/routes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
routes:

collections:
/:
permalink: /{slug}/
template: index

taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
1 change: 1 addition & 0 deletions content/themes/casper
1 change: 1 addition & 0 deletions content/themes/source
1 change: 1 addition & 0 deletions current
22 changes: 22 additions & 0 deletions versions/5.79.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013-2023 Ghost Foundation

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
15 changes: 15 additions & 0 deletions versions/5.79.0/MigratorConfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* eslint-disable ghost/filenames/match-regex */
const config = require('./core/shared/config');
const ghostVersion = require('@tryghost/version');

/**
* knex-migrator can be used via CLI or within the application
* when using the CLI, we need to ensure that our global overrides are triggered
*/
require('./core/server/overrides');

module.exports = {
currentVersion: ghostVersion.safe,
database: config.get('database'),
migrationPath: config.get('paths:migrationPath')
};
47 changes: 47 additions & 0 deletions versions/5.79.0/PRIVACY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Privacy

This is a plain English summary of all of the components within Ghost which may affect your privacy in some way. Please keep in mind that if you use third party Themes or Apps with Ghost, there may be additional things not listed here.

Each of the items listed in this document can be disabled via Ghost's `config.[env].json` file. Check out the [configuration guide](https://ghost.org/docs/config/#privacy) for details.

## Official Services

Some official services for Ghost are enabled by default. These services connect to Ghost.org and are managed by the Ghost Foundation: the Non-Profit organisation which runs the Ghost project.


### Automatic Update Checks

When a new session is started, Ghost pings a Ghost.org service to check if the current version of Ghost is the latest version of Ghost. If an update is available, a notification on the About Page appears to let you know.

Ghost will collect basic anonymised usage statistics from your blog before sending the request to the service. You can disable collecting statistics using the [privacy configuration](https://ghost.org/docs/config/). You will still receive notifications from the service.

All of the information and code related to this service is available in the [update-check.js](https://github.com/TryGhost/Ghost/blob/master/core/server/update-check.js) file.


## Third Party Services

Ghost uses a number of third party services for specific functionality within Ghost.

### JSDELIVR

To easily load functionality for membership features & search, Ghost leverages [JSDELIVR](https://www.jsdelivr.com/) to provide a CDN for drop-in scripts.

### Gravatar

To automatically populate your profile picture, Ghost pings [Gravatar](http://gravatar.com) to see if your email address is associated with a profile there. If it is, we pull in your profile picture. If not: nothing happens.

### RPC Pings

When you publish a new post, Ghost sends out an RPC ping to let third party services know that new content is available on your blog. This enables search engines and other services to discover and index content on your blog more quickly. At present Ghost sends an RPC ping to the following service when you publish a new post:

- http://rpc.pingomatic.com

RPC pings only happen when Ghost is running in the `production` environment.

### Structured Data

Ghost outputs basic meta tags to allow rich snippets of your content to be recognised by popular social networks. Currently there are 3 supported rich data protocols which are output in `{{ghost_head}}`:

- Schema.org - http://schema.org/docs/documents.html
- Open Graph - http://ogp.me/
- Twitter cards - https://dev.twitter.com/cards/overview
Loading

0 comments on commit 5e7f0b6

Please sign in to comment.