Author Topic: How to install directus (node+vuejs) in CWP Pro?  (Read 4414 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to install directus (node+vuejs) in CWP Pro?
« on: April 26, 2021, 12:06:28 PM »
Iīm trying to run the directus v9 in cwp pro, when i use the terminal for run the "npx directus start" the app run perfectly, with ssl and super fast. But when i will try to configure inside the node js manager, they require a index.js file to run. But this command canīt run inside the file.

https://docs.directus.io/getting-started/installation/

In nodejs manager, inside the cwp7, require a js file to run the app. But some apps did not run by file. Some apps require a command, like yarn start or npm run start. How can i put a command in nodejs manager?

Itīs a feature request or we have a solution to run?

Offline
*
Re: How to install directus (node+vuejs) in CWP Pro?
« Reply #1 on: June 11, 2021, 03:48:55 PM »
Hola.
PATH: /home/bienest/public_html/MI-DIRECTUS-FOLDER/
STARTUP FILE: ./node_modules/directus/dist/start.js
Con esta configuracion funciono directus