Open main menu

CDOT Wiki β

Changes

OPS705 Assignment 2

6 bytes added, 22:54, 29 March 2023
m
Task 3: Wordpress Source Code Modification
We ''could'' add the DB connector info to '''wp-config.php''' manually before we upload the source code, but there's a much better way. We use environment variables to allow us to put all the info in the Elastic Beanstalk application wizard. That way, every time the application restarts and reloads from the source code zip, it'll then read our connector information from AWS. Read below for details and steps.
'''Note: ''' All other information, like the Wordpress website name, users, theme settings, blog posts, etc., are saved in the actual database you created in RDS. This database does not get reset when the Elastic Beanstalk application restarts, so your actual blog will remain intact.
== Download and Unzip - Local Computer ==