homayoun1990 / djangomap

Use Django to build a simple web application from scratch (Web GIS).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DjangoMap: An interactive map using django web framework and openlayer js package!

Use Django to build a simple web application from scratch

Clone the project:

use this command to clone this project in your working directory: pip clone ...

Creating a Virtual Environment:

A virtual environment allows you to create an isolated environment for the dependencies of your current project. This will allow you to avoid conflicts between the same packages that have different versions.

Installing Dependencies:

The first step after creating and activating a virtual environment is to install Django. In this section, you’ll be installing the prerequisites needed before you can bootstrap your project, such as Django.

pip install django or pip install -r requirements.txt

Building the Django Project and run the server:

We can use the Django django-admin.py tool to create the boilerplate code structure to get our project started. Change into the directory where you develop your applications.

Adding Maps with OpenLayer:

penLayers is an open-source JavaScript library for displaying map data in web browsers as slippy maps. It provides an API for building rich web-based geographic applications similar to Google Maps and Bing Maps.

About

Use Django to build a simple web application from scratch (Web GIS).

License:MIT License


Languages

Language:Python 84.0%Language:HTML 16.0%