Skip to content

JoseAngel1196/elastic-cache-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Load Database Stored Procedure

    The application calls a stored procedure on the database which must be created before running the application. You will need the RDS instance hostname, the database name and the username used to connect to the database. You can install the procedure from the install.sql file with the following command: psql -h <RDS_HOSTNAME> -U <DB_USER> -f install.sql <DB_NAME>

  • Configure Database Connection

    You will also need to configure the application to connect to the database by editing the config/database.ini file. Use the database name, username and password you created when deploying the database.

  • Configure HTTP Server

    If you are running the application on your workstation, you can access it at http://127.0.0.1:5000. Alternately, you can configure an HTTP server listening on the public interface as a proxy. I've provided such a configuration for the nginx http server in config/nginx-app.conf.