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

this not an isssue just a question. #52

Open
vincentroman opened this issue Jul 25, 2018 · 12 comments
Open

this not an isssue just a question. #52

vincentroman opened this issue Jul 25, 2018 · 12 comments

Comments

@vincentroman
Copy link

how can i deploy this on a production server like aws or with serverless

@filipecatraia
Copy link

Have you read the installation instructions?

@vincentroman
Copy link
Author

yeah actually i have got a way to deploy it to production and for this app it's even a lot easier i will wirte up a tutorial here in few days time sorry about that that

@vincentroman
Copy link
Author

ok if that's the case you can either upload the app to your production enviroment and run nopm with the --production and use pm2 to manage it as a service and use nginx as reverse proxy and load balancer in orther to use port 80 or 443 and you are good to go

@StarAzure
Copy link

StarAzure commented Sep 24, 2018

@vincentroman Hi Vincent - Can you tell me what files and folders goto production ?
Or if someone else knows, please share.

@arize99
Copy link

arize99 commented Sep 24, 2018

@vincentroman any video or something to explain that broadly? I don't know MERN Stack. I would like to use this script, I know the PHP Version, I am having problems with that also but its PHP I might crack it if I give it more time.

But I need this MERN Version of the script.

@vincentroman
Copy link
Author

@vincentroman
Copy link
Author

@arize99 @StarAzure read this first then i will post my own simple method for you guys later in the day https://blog.cloudboost.io/setting-up-an-https-sever-with-node-amazon-ec2-nginx-and-lets-encrypt-46f869159469

@vincentroman
Copy link
Author

the simplest way to go about hosting this for production without much expertise need is to reapet the same process you did on the dev environment but with few changes like running npm install --production
and changin webpack build to webpack -p --progress --color in the package.json and then install pm2 on the server and use pm2 to run the web app by using pm2 start and that all any other issue just send me a message here i will be glad to help

@arize99
Copy link

arize99 commented Sep 26, 2018

looks like one has to pay/ add a card to complete registration for the Amazon hosting. I already have a shared host I can create a subdomain test run it with. Did you have any tips on that?

@arize99
Copy link

arize99 commented Sep 26, 2018

i am guessing one needs a vps or dedi to host MERN

@vincentroman
Copy link
Author

yes

@vincentroman
Copy link
Author

dont worry about the aws card issue its just to verify the card plus its just a dollar charge, you can also try the google cloud platform they offer far better option than aws

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

4 participants