Create /tmp directory
This commit is contained in:
2
scripts/.gitignore
vendored
2
scripts/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
/logs/
|
|
||||||
/database/
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
const _ = require('lodash')
|
const _ = require('lodash')
|
||||||
const file = require('./file')
|
const file = require('./file')
|
||||||
|
|
||||||
const DATA_DIR = process.env.DATA_DIR || './scripts/data'
|
const DATA_DIR = process.env.DATA_DIR || './scripts/tmp/data'
|
||||||
|
|
||||||
class API {
|
class API {
|
||||||
constructor(filepath) {
|
constructor(filepath) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const nedb = require('nedb-promises')
|
const nedb = require('nedb-promises')
|
||||||
const file = require('./file')
|
const file = require('./file')
|
||||||
|
|
||||||
const DB_DIR = process.env.DB_DIR || './scripts/database'
|
const DB_DIR = process.env.DB_DIR || './scripts/tmp/database'
|
||||||
|
|
||||||
class Database {
|
class Database {
|
||||||
constructor(filepath) {
|
constructor(filepath) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const logger = require('./logger')
|
|||||||
const file = require('./file')
|
const file = require('./file')
|
||||||
|
|
||||||
const PUBLIC_DIR = process.env.PUBLIC_DIR || '.gh-pages'
|
const PUBLIC_DIR = process.env.PUBLIC_DIR || '.gh-pages'
|
||||||
const LOGS_DIR = process.env.LOGS_DIR || 'scripts/logs/generators'
|
const LOGS_DIR = process.env.LOGS_DIR || 'scripts/tmp/logs/generators'
|
||||||
|
|
||||||
const generator = {}
|
const generator = {}
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
*
|
*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
Reference in New Issue
Block a user