Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What should I do to start my server in production environment? #24

Open
sojharo opened this issue Apr 2, 2015 · 0 comments
Open

What should I do to start my server in production environment? #24

sojharo opened this issue Apr 2, 2015 · 0 comments

Comments

@sojharo
Copy link

sojharo commented Apr 2, 2015

When I build my project, inside dist/server/app.js I can see the following line:

process.env.NODE_ENV = process.env.NODE_ENV || 'development';

What should I do to start my server in production environment when I try running from this directory? Also, I want my project to listen on both ports 3000 and 8443, if request comes on 3000 I redirect it to 8443.

Please help with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant