forked from brendon-boldt/imago-imaginis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js.template
24 lines (20 loc) · 1.24 KB
/
config.js.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// File containing deployment specific configuration info for the API
var config = {};
// This token should be identical to the one in the stylizer config.js
config.styleApiToken = '';
// Paths to where things are stored in the local file stystem
// Use `bash create_file_tree.sh ~/files` to create a file system tree
config.contentPath = ''; // directory to where uploaded images are stored (same as uploadsPath)
config.stylePath = ''; // directory where filters for styling are stored
config.outputPath = ''; // directory where styled images are output to
config.contentPathVideo = ''; // directory where uploaded videos are stored (same as videoUploadsPath)
config.outputPathVideo = ''; // directory where styled videos are output to
config.uploadsPath = ''; // directory where uploaded photos are stored
config.videoUploadsPath = ''; // directory where uploaded videos are stored
config.serve = ''; // static directory for express to serve out of: '../../../../
config.dbUserName = ''; // username for db user
config.dbPassword = ''; // password for db user
config.dbIP = ''; // the address of the database: https://imagino.reev.us
config.dbName = ''; // name of the database: aspdb
config.dbPort = ''; // port of the database: 5432
module.exports = config;