activating conda environment in within a shell script

I have an EC2 instance running Ubuntu 18.04. I have a python Flask server implemented inside it, and I want it to start running as soon as I boot. I would like to do this with /etc/rc.local/. Whe...