-
Notifications
You must be signed in to change notification settings - Fork 0
Reflections and Troubleshooting
Amit Das edited this page Aug 29, 2023
·
2 revisions
- AWS EC2 Instance Setup: Ensuring that the EC2 instance in AWS was compatible with the libraries I needed to install proved challenging.
-
Leaflet.js Integration: I experienced some challenges working with the
Leaflet.jslibrary, particularly with the layout of the map. - Public Accessibility: I experienced challenges in transitioning the visibility of the web app from being on my local machine to making it publicly accessible.
-
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.txton the Linux server I obtained from the chosen AWS AMI. - 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.
-
Public Accessibility: I have attached a screen recording of the web application in my
README.mdfile in case the public link fails. I used thenohup flask runcommand to keep the web server running. However, this is a temporary solution and may need to be modified during deployment.
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.