NodeJS Application on Apps Platform

NodeJS Application on Apps Platform

June 7, 2024 | seedling, permanent

tags :

NodeJS application on Apps Platform #

source_dir and package-lock.json #

directory structure

root —backend — package.json — package-lock.json # deployment was failing without this

Run Migrations using ORM Prisma for adminjs #

npx prisma migrate dev --name init & npm start

do, ref youtube ref

Build command -> installation Run command -> migrate and start

Reached heap limit Allocation failed - JavaScript heap out of memory #

export NODE_OPTIONS=--max-old-space-size=4096

ref set env variables do, ref

OCR of Images #

2024-05-30_17-21-51_screenshot.png #

Source Ed https/lgithub.com/AzamX/xpro 7 Branch: develop Source Directory: backend Hash: 995bb50 Autodeploy: On

2024-05-30_17-22-44_screenshot.png #

Health Checks TCP Commands Build Command Enter a shell command Run Command npx prisma migrate dev --name init & npm start Save Cancel

2024-05-30_17-23-58_screenshot.png #

Environment Variables 9 environment variables Edit HTTP Routes 1route Edit Health Checks TCP Edit Commands Build Command composer install Run Command php artisan migrate heroku-php-apache2 public/ Save Cancel

2024-06-07_12-22-14_screenshot.png #

c A I - -  NODE_OPTIONS -max_old_space_size-4096


No notes link to this note

Go to random page

Previous Next