Welcome Guest, Not a member yet? Register   Sign In
working with a local host and a remote host
#1

(This post was last modified: 01-21-2021, 07:29 PM by richb201.)

I am trying to put my app up on an EC2 instance on AWS. The only problem is that the code on my local copy of the code and code on the AWS server will be a little different. For example, on the local server I use ngrok so that users can directly access my host. On the server version i won't need that. Also, ENVIRONMENT on the local copy of the code is set to development while the one on the AWS server will be set to production. 

What are the best practices in having two different versions? I have a CICD pipeline for moving the code from my PC to Github, and then up to the AWS server. How should I control two different environments. BTW I am using Docker.
proof that an old dog can learn new tricks
Reply
#2

Are you asking for CI3 or CI4?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB