Skip to content

Reflections and Troubleshooting

Amit Das edited this page Aug 29, 2023 · 2 revisions

Reflections and Troubleshooting

Challenges Faced

  1. AWS EC2 Instance Setup: Ensuring that the EC2 instance in AWS was compatible with the libraries I needed to install proved challenging.
  2. Leaflet.js Integration: I experienced some challenges working with the Leaflet.js library, particularly with the layout of the map.
  3. Public Accessibility: I experienced challenges in transitioning the visibility of the web app from being on my local machine to making it publicly accessible.

Solutions

  1. EC2 Compatibility: I was able to resolve the creation of an EC2 instance, by rolling back some of the versions for the libraries. I had to update some of the dependencies in requirements.txt on the Linux server I obtained from the chosen AWS AMI.
  2. Map Navigation: The Leaflet issue still persists. Too much scrolling out can affect where the pins are dropped. A user should interact with the map as if it is in one frame from left to right. This will ensure a smooth performance.
  3. Public Accessibility: I have attached a screen recording of the web application in my README.md file in case the public link fails. I used the nohup flask run command to keep the web server running. However, this is a temporary solution and may need to be modified during deployment.

Final Reflection

Overall, I learned a lot about working with servers and clients and querying databases in the context of creating a web app. I also learned about the importance of virtual enviornments to isolate the process of installing libraries and managing dependencies.

Clone this wiki locally