AWS Deploy
I deployed AWS on an ec2 box to test this out. Attached both the error and the .env file.
When I deployed I can access it locally just fine, but the problem is that I cannot register as it's trying to access localhost. What .env var should I change for that?
10 Replies
hi @.starsend
Please try with this env variable value
NODE_ENV=production
ah gotcha
tried that still getting nothing
@Pawan Jain anything else I can tweak?
if you are running through docker you can change configuration in docker .env
you can replace all "localhost" to "<your_IP_address>"
eg. http://localhost:3000
to http://192.0.0.1:3000
in your case you can change to your ec2 IP address
@.starsend
checkout this message for example env variables
https://discord.com/channels/895029566685462578/1148549187244412988/1148982245521100831
Ah, thanks mate
@jainpawan21 that worked beautifully. Final issue - it's asking for new_relic and it's crashing. Do I really need new relic?
@.starsend, you just advanced to level 1!
No, it is not required
ah, okay, so it panicked and then it was fine
nice
I am finally in
thanks mate