diff --git a/README.md b/README.md index 3fff153..df8413f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,13 @@ ### [WIP] -si, e' tutto in js. *stacce* stack classico (express, blabla). +si, e' tutto in js. *stacce* +stack classico (node, express, blabla). +per i template uso pug. + +la app parte da `app.js` ma in generale il routing lo fa `routes/index.js` per farlo partire: -`npm run start` + +`npm run dev` visit `http://localhost:8000` diff --git a/config.js b/config.js new file mode 100644 index 0000000..089a622 --- /dev/null +++ b/config.js @@ -0,0 +1,9 @@ + +const isDev = process.env.NODE_ENV === 'development' + +module.exports = { + DEV: isDev, + SERVER_IP: '51.68.126.235', + MAINTENANCE: false, // put site in maintenance mode + BASE: isDev ? 'http://localhost:8000/' : 'https://fugadalcontrollo.org/' +}