-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Deploying to Production #143
Comments
I am not quite sure what you are doing for your deployment. How you deploy totally depends on you. For web applications, you can use nginx or even S3 if you want since its just set of static files. For server, you just need to run the servers and expose that port. If you want nginx, that is fine too. Just make sure that when you deploy, your servers run and domains are connected to correct ports. |
@smaharj1 So I have simply put all my code on a server and run docker-compose up then I installed NGINX and reverse proxy'd ports 5201 and 5202 to point to demo.com and admin.demo.com I am not sure how to build for production. How do you deploy this to the internet? I see that in management-webclient and in shopping-webclient, there is a file called vue.config.js in which there are paramenters called "host" and "port" and so on. Could you please guide me on how to deploy this to a domain name? You can also share your nginx configuration file. That will be of great help. Thanks. |
So ideally if you are deploying in prod, it might be a wise idea to decouple the components of the application and deploy them separately. The docker-compose one-command startup was put together for developers to quickstart, so it might not be entirely thought-through for production use. For example - this is how we deploy our demo sites.
Correct me if I'm wrong on the following part @smaharj1 The |
@AmandaDLyon keep us posted about your progress, and if you don't mind post the link to your work when it goes to production! |
Describe the bug
I am not able to upload the site to a domain name. It does not load anything. How do I push this to a public server?
I am running the whole thing as a docker container and then I have NGINX installed on my server for reverse proxy.
@Viveckh @smaharj1
The text was updated successfully, but these errors were encountered: