|
|
@ -6,6 +6,7 @@ const ROOT_DIR = './.gh-pages'
|
|
|
|
db.load()
|
|
|
|
db.load()
|
|
|
|
|
|
|
|
|
|
|
|
function main() {
|
|
|
|
function main() {
|
|
|
|
|
|
|
|
start()
|
|
|
|
createRootDirectory()
|
|
|
|
createRootDirectory()
|
|
|
|
createNoJekyllFile()
|
|
|
|
createNoJekyllFile()
|
|
|
|
generateIndex()
|
|
|
|
generateIndex()
|
|
|
@ -192,6 +193,10 @@ function generateLanguages() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function start() {
|
|
|
|
|
|
|
|
console.log(`Starting...`)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function finish() {
|
|
|
|
function finish() {
|
|
|
|
console.log(
|
|
|
|
console.log(
|
|
|
|
`Countries: ${db.countries.count()}. Languages: ${db.languages.count()}. Categories: ${db.categories.count()}. Channels: ${db.channels.count()}.`
|
|
|
|
`Countries: ${db.countries.count()}. Languages: ${db.languages.count()}. Categories: ${db.categories.count()}. Channels: ${db.channels.count()}.`
|
|
|
|