Moving default location of the Database

closes #579

- adding a readme to the content/data folder to make sure it is always created
- also fixes a rebasing error
This commit is contained in:
Hannah Wolfe 2013-09-12 15:51:55 +01:00
parent 63d8cbb87c
commit 21df506c47
2 changed files with 8 additions and 5 deletions

View File

@ -10,7 +10,7 @@ config = {
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/core/server/data/ghost-test.db')
filename: path.join(__dirname, '/content/data/ghost-test.db')
}
},
server: {
@ -25,7 +25,7 @@ config = {
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/core/server/data/ghost-travis.db')
filename: path.join(__dirname, '/content/data/ghost-travis.db')
}
},
server: {
@ -41,7 +41,7 @@ config = {
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/core/server/data/ghost-dev.db')
filename: path.join(__dirname, '/content/data/ghost-dev.db')
},
debug: false
},
@ -69,7 +69,7 @@ config = {
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/core/server/data/ghost-staging.db')
filename: path.join(__dirname, '/content/data/ghost-staging.db')
},
debug: false
},
@ -85,7 +85,7 @@ config = {
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/core/server/data/ghost.db')
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},

3
content/data/README.md Normal file
View File

@ -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.