How to initiate Development and Production Environment.

  1. Access your cPanel shell/terminal access.
  2. Change the directory to your installation path.
  3. Run the export command based on your installation path using the below command
    export PATH=/opt/cpanel/ea-nodejs16/bin/:$PATH
  4. For Development mode, run "/opt/cpanel/ea-nodejs16/bin/npm run dev" or "/opt/cpanel/ea-nodejs16/bin/npm run build" for Production mode.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create softlink for Laravel

Access your shell through your cPanel dashboard. Rename OR delete the default 'public_html'...