i have an nodejs app deployed on heroku, i want to run some python scripts which depends on some packages like selenium on nodejs app deployed on heroku.
i have read about npm packages like 'node-python' and 'pyshell' and i have tested on localhost using 'node-python' to run the python scripts and i have installed all the require packages using pip, but i dont know how can i run these scripts on nodejs app which is deployed on heroku and how can i install all the required packages on which these scripts are dependent. Thank you.
You need to create your package.json
file. That's where your app configuration and dependencies are defined.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.