WebFaction
Community site: login faq

Hi,

I've been able to get node and express up and running but only when i invoke it directly: node ./bin/www

The problem is that runs the server in my shell and I have to keep the shell running for the website to work. I've installed forever and pm2 but neither can start my express app. Is this an environment config? What's the recommended practice?

Thanks!

asked 18 May '15, 04:07

bobbyc
1114
accept rate: 0%


Got it up and running with forever finally, but express changes the equations...

https://www.npmjs.com/package/forever

permanent link

answered 18 May '15, 15:48

bobbyc
1114
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×67
×12

question asked: 18 May '15, 04:07

question was seen: 5,139 times

last updated: 18 May '15, 15:48

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM