Giter VIP home page Giter VIP logo

appgeolocation's Introduction

Geolocation

ℹ️ Information

The project aims to search for locations according to the characteristics and city typed by the user, such as: "Restaurant" and "New York". The YELP API was used to perform the data search, for more information on using the API go to: https://www.yelp.com/developers/documentation/v3. A map has been placed for the user to better locate the location using openstreet to display the map. For the addresses searched, the GEOIP2 database was used. For more information on using GEOIP2, go to: https://dev.maxmind.com/geoip.

⚠️ Prerequisite

Demo

localidades

⚙️ Creating virtual machine

Create your virtual machine

python3 -m venv venv

Activate your virtual machine

source venv/bin/activate

After the virtual machine is activated, install the project dependencies

pip install -r requirements.txt```

⚙️ Installing MySQL

Enter the following commands in the terminal.

sudo apt update
sudo apt install mysql-server

Configuring MySQL

For new installations, you will want to run the security script that is included. This changes some of the less secure default options for things like root logins and example users. Enter the command below.

sudo mysql_secure_installation

This will take you through a series of prompts where you can make some changes to the security options of your MySQL installation. The first prompt will ask you if you want to configure the Validate Password Plugin, which can be used to test the strength of your MySQL password. Regardless of your choice, the next prompt will be to set the password for the MySQL root user. Sign in and then confirm a secure password of your choice.

From there, you can press Y and then ENTER to accept the default answers for all subsequent questions. This will remove some anonymous users and the test database, disable remote login for root, and load all of these new rules so that MySQL immediately respects the changes you made.

Testing MySQL

To see if MYSQL is running, type the following command.

systemctl status mysql.service

If MySQL is not running, you can start it with the following command.

sudo systemctl start mysql

Now try to connect your root user to MySQL.

mysql -u root -p

🚀 Installation

git clone https://github.com/RamonBecker/AppGeolocation.git

git clone https://github.com/RamonBecker/AppGeolocation.git
or install github https://desktop.github.com/ 

⚡ Technologies

  • Python
  • GEOLite2
  • OpenStreet

📝 Developed features

  • Search for the term (characteristic) of the location;
  • Search by the specific city of a location;
  • In the search performed, the map of the locations is shown.

🧑‍💻 Author

By Ramon Becker 👋🏽 Get in touch!

github linkedin Gmail Badge

appgeolocation's People

Contributors

ramonbecker avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.