By gimenojude
How to automatically start parse-server npm start?
I made an application and tis already published on the google store but i need to open two terminal and connect to the server and type the commands bellow in two separate terminal how can i automatic start it ?
**Terminal 1: ** cd parse-server-example npm start
**Terminal 2: ** parse-dashboard --config config.json --allowInsecureHTTP=1
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @gimenojude
I’m not sure what you’re asking, but it seems like you’re not using a process manager to start the Node.js app. https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
Or maybe you should just use this command instead, to run it without a web server:
cd parse-server-example
npm run-script parse-dashboard --config config.json --allowInsecureHTTP=1
Hi @hansen about my question the application will only work or start when i open two terminal and and npm start the directory cd parse-server-example and on the other terminal i need to put this npm run-script parse-dashboard --config config.json --allowInsecureHTTP=1 to make it work how can i automatically start this two without opening the terminal or console
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.