• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
working with a local host and a remote host

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

Are you asking for CI3 or CI4?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.