You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.
Hi Guys,
Came across this project as I am beginning my journey to Universal React App.
This project seems a very comprehensive and very well documented application hence, Hoping to use it.
I cannot seem to understand, How will I deploy this application Locally or on Azure?
When I build production build using 'yarn build' it creates 'build' directory with 'client' and 'server' files.
However, when I take the 'build' directory and copy / host it on another machine / upload it to Azure, I cannot seem to run/execute server script by simply giving command 'node index.js' from 'server' directory!
Is there anything I am missing?
Any help will be grateful and help me choose this project as my base project to start with!
Thanks once again in advance.
The text was updated successfully, but these errors were encountered:
Just tried and it works fine for me. What are you getting in the console?
There's no particular way to deploy this from any other node project. The only difference from standard React is if you don't host the static files on the same machine as the server, you have to specify where your static assets are in the output html (and remove the local static assets path from Node).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Guys,
Came across this project as I am beginning my journey to Universal React App.
This project seems a very comprehensive and very well documented application hence, Hoping to use it.
I cannot seem to understand, How will I deploy this application Locally or on Azure?
When I build production build using 'yarn build' it creates 'build' directory with 'client' and 'server' files.
However, when I take the 'build' directory and copy / host it on another machine / upload it to Azure, I cannot seem to run/execute server script by simply giving command 'node index.js' from 'server' directory!
Is there anything I am missing?
Any help will be grateful and help me choose this project as my base project to start with!
Thanks once again in advance.
The text was updated successfully, but these errors were encountered: