mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Create /tmp directory
This commit is contained in:
parent
3f5b98de81
commit
fa47e80a8f
5 changed files with 4 additions and 6 deletions
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 = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue