At the moment, the Data Titans site is hosted on our local machines. While this works for development purposes, it introduces certain issues. For one, most of our team uses Windows, which can introduce certain compatibility issues, such as being unable to run Memcached. Additionally, some members have reported Django failing to launch correctly after pulling from master. Additionally, the server will attempt to initialize and update the database when it starts up, which could result in a race condition. As such, it makes sense to start moving towards using Docker containers for the application, allowing us to take advantage of a Linux environment, as well as making sure the database manipulation only occurs once, regardless of how many server instances start up.
[x] Create Dockerfile for application #118
[x] Get application to talk to Memcached daemon
[x] Get application to communicate with SQL database outside the daemon
At the moment, the Data Titans site is hosted on our local machines. While this works for development purposes, it introduces certain issues. For one, most of our team uses Windows, which can introduce certain compatibility issues, such as being unable to run Memcached. Additionally, some members have reported Django failing to launch correctly after pulling from master. Additionally, the server will attempt to initialize and update the database when it starts up, which could result in a race condition. As such, it makes sense to start moving towards using Docker containers for the application, allowing us to take advantage of a Linux environment, as well as making sure the database manipulation only occurs once, regardless of how many server instances start up.