Simple django-project with a geographic map
There is a map on the start page, when clicked on it, the coordinates (latitude and longitude) are saved in the database. When you click on the link located under the map, you are redirected to a page with listing all the coordinates from the database.
- Clone or download the project
- Create virtual environment at the root of the project using the command
If virtualenv is not installed, use the following command
virtualenv venv
pip3 install virtualenv
- Activate venv
source venv/bin/activate - Install requirements
pip install -r requirements.txt
- Create a database using PostgreSQL and change DB data in settings.py
- Apply migrations
python manage.py migrate
It's all. Now you can start the project with the following command
python manage.py runserver