Init project
This commit is contained in:
22
config.js
Normal file
22
config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/* --- IMPORTS -------------------------- */
|
||||
|
||||
require('dotenv').config();
|
||||
|
||||
/* --- SETUP ---------------------------- */
|
||||
|
||||
let web = {
|
||||
host: process.env.W_HOST,
|
||||
port: process.env.W_PORT
|
||||
};
|
||||
|
||||
let maven = {
|
||||
// example(win): /User/admin/.micro-m2
|
||||
dir: process.env.MAVEN_DIR,
|
||||
// example: mvn
|
||||
url: process.env.MAVEN_ROOT_URL
|
||||
};
|
||||
|
||||
/* --- EXPORTS -------------------------- */
|
||||
|
||||
module.exports.web = web;
|
||||
module.exports.maven = maven;
|
||||
Reference in New Issue
Block a user