Example project¶
This example project demonstrates how to use Django-geoprisma. You can use this example project for development or just test features.
Usage¶
Clone the Django-geoprisma repo or download the archive.
Go to the example_project directory into the Django-geoprisma folder.
Install requirements
$ pip install -r requirements.txt
You need to create a database. Don’t forget to put your database configurations in settings.py
$ python manage.py syncdb
Load default geoprisma data
$ python manage.py loaddata default
Load example data
$ python manage.py loaddata example
Create a superuser
$ python manage.py createsuperuser
Run the django server
$ python manage.py runserver
Sign in into admin with the superuser. http://yourserverurl/admin
Enter the url http://yourserverurl/map/ws_example/1 for open the geoprisma example application.