GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - d3rrick/mapping_accidents_geodjango

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
accidents
accidents
 
 
ajali
ajali
 
 
static
static
 
 
.gitattributes
.gitattributes
 
 
README.md
README.md
 
 
manage.py
manage.py
 
 
mimic.py
mimic.py
 
 

Repository files navigation

Mapping Accidents in Kenya

Description

The Accidents application

  • Report accidents with location attribute

Created on, May 19th 2018

accident application demo

Technologies used

  • Django
  • Geodjango
  • Jquery
  • Leafletjs
  • HTML5
  • Css3
  • Postgresql
  • Postgis
  • Git

Development and Setup.

prerequisites

  • Python 3.6 should be installed
  • django 1.11
  • install other packages provided in the requirements.txt file
  • Running the application.
  • Visit this link to view on any browser.

Installation.

  • Ensure python3.6 is installed.
  • Clone the repository git clone
  • create a virtual environment virtualenv and activate source /bin/activate
  • Install the required packages pip3 install -r requirements.txt
  • Create a postgresql database.
  • open the psql terminal by typing psql -h localhost -U
  • Once on the psql terminal create the database ```CREATE DATABASE ``
  • Create postgis extension CREATE EXTENSION postgis and CREATE EXTENSION postgis-topology
  • Quit the shell \q
  • Once the database is setup, make migrations, this creates database schemas for the application python manage.py -makemigrations
  • Then create the actual database tables by python manage.py migrate
  • Start the application by python manage.py runserver and open http://127.0.0.1:8000 in the browser.

Test Driven Development

Testing was done using python inbuild test tool called unittest to test database and form models.

Reccomendations

  • Implement geo-odk forms for data collection using android phones.
  • Web mapping portal functionalities such as legend improving car simulation.

Further help

To get Further help you can visit the official python and django documentation.

Licence

MIT (c) 2017 muriithi derrick

About

No description or website provided.

Topics

geodjangoleafletjsmapboxpostgispostgresql

Resources

Readme
Activity

Stars

7 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.