diff --git a/backend/ecosystem.config.js b/backend/ecosystem.config.js deleted file mode 100644 index a8f04b2..0000000 --- a/backend/ecosystem.config.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - apps: [{ - name: 'portfolio-backend', // A name for your application in PM2 - script: 'server.js', // The path to the script PM2 will run - cwd: `${process.env.DEPLOY_PATH}/backend`, // Current working directory for the script - instances: 1, // Run a single instance of the application - autorestart: true, // Automatically restart if the app crashes - watch: false, // Do NOT watch for file changes in production - max_memory_restart: '256M', // Restart if it uses more than 256MB of RAM - env: { - NODE_ENV: 'production', // Set the environment to production - } - }] -}; \ No newline at end of file diff --git a/backend/ecosystem.config.json b/backend/ecosystem.config.json new file mode 100644 index 0000000..69e2d9e --- /dev/null +++ b/backend/ecosystem.config.json @@ -0,0 +1,12 @@ +{ + "apps": [{ + "name": "portfolio-backend", + "script": "server.js", + "instances": 1, + "autorestart": true, + "watch": false, + "env": { + "NODE_ENV": "production" + } + }] +} \ No newline at end of file diff --git a/frontend/ecosystem.config.js b/frontend/ecosystem.config.js deleted file mode 100644 index 1e4dd0a..0000000 --- a/frontend/ecosystem.config.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - apps: [{ - name: 'portfolio-frontend', // A name for your application in PM2 - script: 'npm', // Tell PM2 to run an npm command - args: 'start', // The argument to pass to npm, which runs 'next start' - cwd: `${process.env.DEPLOY_PATH}/frontend`, // Current working directory for the script - instances: 1, // Run a single instance of the application - autorestart: true, // Automatically restart if the app crashes - watch: false, // Do NOT watch for file changes in production - max_memory_restart: '512M', // Restart if it uses more than 512MB of RAM - env: { - NODE_ENV: 'production', // Set the environment to production - } - }] -}; \ No newline at end of file diff --git a/frontend/ecosystem.config.json b/frontend/ecosystem.config.json new file mode 100644 index 0000000..38ba7d9 --- /dev/null +++ b/frontend/ecosystem.config.json @@ -0,0 +1,13 @@ +{ + "apps": [{ + "name": "portfolio-frontend", + "script": "npm", + "args": "start", + "instances": 1, + "autorestart": true, + "watch": false, + "env": { + "NODE_ENV": "production" + } + }] +} \ No newline at end of file diff --git a/frontend/src/app/faviconOld.ico b/frontend/src/app/faviconOld.ico deleted file mode 100644 index aacbc19..0000000 Binary files a/frontend/src/app/faviconOld.ico and /dev/null differ