Data4Democracy / internal-displacement

Studying news events and internal displacement.
43 stars 27 forks source link

add production config #128 #132

Closed WanderingStar closed 7 years ago

WanderingStar commented 7 years ago

@wwymak, this puts nginx in front of node, but doesn't attempt to build node for production. Do you know what is required for that?

wwymak commented 7 years ago

I will need to properly set it up but basically you run npm build once and that puts the production ready file in a separate folder, which the node server should serve files from. Then all you need to do is to do node server and the site should be live