Commented out MacOS check in configure-script.js
This commit is contained in:
+9
-8
@@ -46,13 +46,14 @@ See https://github.com/krgamestudios/MERN-template/wiki for help.
|
|||||||
`
|
`
|
||||||
);
|
);
|
||||||
|
|
||||||
//determine local computer address for mac user vs everyone else
|
// //determine local computer address for mac user vs everyone else
|
||||||
let macUser = '';
|
// let macUser = '';
|
||||||
while (macUser.toLowerCase() !== 'yes' && macUser.toLowerCase() !== 'no') {
|
// while (macUser.toLowerCase() !== 'yes' && macUser.toLowerCase() !== 'no') {
|
||||||
macUser = await question('Will the MERN-Template be running locally on a MacOS system? (yes or no, this only alters startup.sql)', '');
|
// macUser = await question('Will the MERN-Template be running locally on a MacOS system? (yes or no, this only alters startup.sql)', '');
|
||||||
}
|
// }
|
||||||
|
|
||||||
const localAddress = macUser ? 'localhost' : '%';
|
// const localAddress = macUser === 'yes' ? 'localhost' : '%';
|
||||||
|
const localAddress = '%';
|
||||||
|
|
||||||
//project configuration
|
//project configuration
|
||||||
const projectName = await question('Project Name', 'template');
|
const projectName = await question('Project Name', 'template');
|
||||||
@@ -180,7 +181,7 @@ See https://github.com/krgamestudios/MERN-template/wiki for help.
|
|||||||
const defaultHost = tmpHost;
|
const defaultHost = tmpHost;
|
||||||
|
|
||||||
if (defaultUser) {
|
if (defaultUser) {
|
||||||
console.log(`Default user email will be: ${defaultUser}@${authWebAddress}`);
|
console.log(`Default user email will be: ${defaultUser}@${defaultHost}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
//traefic configuration
|
//traefic configuration
|
||||||
@@ -376,7 +377,7 @@ networks:
|
|||||||
FROM node:22-bookworm-slim
|
FROM node:22-bookworm-slim
|
||||||
WORKDIR "/app"
|
WORKDIR "/app"
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN mkdir /app/public
|
RUN mkdir -p /app/public
|
||||||
RUN chown node:node /app/public
|
RUN chown node:node /app/public
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
EXPOSE ${projectPort}
|
EXPOSE ${projectPort}
|
||||||
|
|||||||
Reference in New Issue
Block a user