Skip to content

Commit

Permalink
Content & Core 0.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Apr 8, 2015
1 parent 1422e3e commit df53b20
Show file tree
Hide file tree
Showing 32 changed files with 152,209 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .gitignore
Expand Up @@ -42,27 +42,11 @@ Session.vim
.dist
.tmp

/core/server/data/export/exported*
/content/tmp/*
/content/data/*
/content/apps/**/*
/content/themes/**/*
/content/images/**/*
!/content/themes/casper/**
!/README.md

# Changelog, which is autogenerated, not committed
CHANGELOG.md

# Casper generated files
/core/test/functional/*.png

config.js
/core/client/config.js

# Built asset files
/core/built
/core/server/views/default.hbs

# Coverage reports
coverage.html
140 changes: 140 additions & 0 deletions config.js
@@ -0,0 +1,140 @@
// # Ghost Configuration for Azure Deployment
// Setup your Ghost install for various environments
// Documentation can be found at http://support.ghost.org/config/

var path = require('path'),
config;

config = {
// ### Development **(default)**
development: {
// The url to use when providing links to the site, E.g. in RSS and email.
url: process.env.websiteUrl,

// Visit http://support.ghost.org/mail for instructions
mail: {
transport: 'SMTP',
options: {
service: process.env.emailService,
auth: {
user: process.env.emailUsername, // mailgun username
pass: process.env.emailPassword // mailgun password
}
}
},

database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-dev.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: process.env.PORT
},
paths: {
contentPath: path.join(__dirname, '/content/')
}
},

// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and mail settings here
production: {
url: process.env.websiteUrl,

// Visit http://support.ghost.org/mail for instructions
mail: {
transport: 'SMTP',
options: {
service: process.env.emailService,
auth: {
user: process.env.emailUsername, // mailgun username
pass: process.env.emailPassword // mailgun password
}
}
},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: process.env.PORT
}
},

// **Developers only need to edit below here**

// ### Testing
// Used when developing Ghost to run tests and check the health of Ghost
// Uses a different port number
testing: {
url: 'http://127.0.0.1:2369',
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost-test.db')
}
},
server: {
host: '127.0.0.1',
port: '2369'
},
logging: false
},

// ### Testing MySQL
// Used by Travis - Automated testing run through GitHub
'testing-mysql': {
url: 'http://127.0.0.1:2369',
database: {
client: 'mysql',
connection: {
host : '127.0.0.1',
user : 'root',
password : '',
database : 'ghost_testing',
charset : 'utf8'
}
},
server: {
host: '127.0.0.1',
port: '2369'
},
logging: false
},

// ### Testing pg
// Used by Travis - Automated testing run through GitHub
'testing-pg': {
url: 'http://127.0.0.1:2369',
database: {
client: 'pg',
connection: {
host : '127.0.0.1',
user : 'postgres',
password : '',
database : 'ghost_testing',
charset : 'utf8'
}
},
server: {
host: '127.0.0.1',
port: '2369'
},
logging: false
}
};

// Export config
module.exports = config;
3 changes: 3 additions & 0 deletions content/apps/README.md
@@ -0,0 +1,3 @@
# Content / Apps

Coming soon, Ghost apps will appear here.
3 changes: 3 additions & 0 deletions content/data/README.md
@@ -0,0 +1,3 @@
# Content / Data

This is the home of your Ghost database, do not overwrite this folder or any of the files inside of it.
3 changes: 3 additions & 0 deletions content/images/README.md
@@ -0,0 +1,3 @@
# Content / Images

If using the standard file storage, Ghost will upload images to this directory.
22 changes: 22 additions & 0 deletions content/themes/casper/LICENSE
@@ -0,0 +1,22 @@
Copyright (c) 2013-2015 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.
16 changes: 16 additions & 0 deletions content/themes/casper/README.md
@@ -0,0 +1,16 @@
# Casper

The default theme for [Ghost](http://github.com/tryghost/ghost/).

To download, visit the [releases](https://github.com/TryGhost/Casper/releases) page.

## Copyright & License

Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT License.

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.

0 comments on commit df53b20

Please sign in to comment.