Python Django indoor backend API for indoor maps, orientation and wayfinding
Clone or download
mdiener21 Update manage.py
removed config dir
Latest commit d351e28 Jun 15, 2018

README.md

indrz open source indoor maps, routing and data API

Project homepage [www.indrz.com] (http://www.indrz.com)

If you want detailed instructions on how to build a demo indoor routing application check out this book (shameless self plug) Python Geospatial Analysis Cookbook The book source code is on Github https://github.com/mdiener21/python-geospatial-analysis-cookbook digital wayfinding indoors, maps, orientation and indoor routing for buildings large or small, app or webpage.

Sponsors

Browserstack is awesome and they provide the great service to test if everythings works in the wild browser world, check them out at https://www.browserstack.com

GitHub stars GitHub Issues GitHub release license Twitter

StackShare

Licence

indrz is under GNU General Public License v3.0. The name "indrz" is not allowed to be used by third parties and is a trademark. Other than that you can do what you want accordingly

Documentation

You can find our documentation project here [indrz Docs] (https://github.com/indrz/indrz-doc) in the folder content

Our documentation structure and build environment is built upon the [mapbox docbox] (https://github.com/mapbox/docbox) nodejs static documentation generator. The main content is found under the (content) folder.

[indrz Installation details] (https://github.com/indrz/indrz-doc/blob/master/content/installation.md)

[indrz introduction to API] (https://github.com/indrz/indrz-doc/blob/master/content/introduction.md)

[indrz Directions API] (https://github.com/indrz/indrz-doc/blob/master/content/directions.md)

[indrz Buildings API] (https://github.com/indrz/indrz-doc/blob/master/content/buildings.md)

indrz Working with GeoData

Quick start installation for developers

Create indrz Ubuntu system user

adduser indrz
usermod --home /opt/indrz -m indrz #-m moves files too
su indrz

if you get a python error on logging into the new user, run:

dpkg-reconfigure virtualenvwrapper

checkout indrz from github

cd ~
git clone https://github.com/indrz/indrz.git indrz
cd indrz
git checkout master

Create postgres user

sudo -u postgres createuser indrz # answer no, no, no
sudo -u postgres createdb indrz -O indrz

Create virtualenv with python 3.4

cd indrz
mkvirtualenv -p /usr/bin/python3.4 indrz

install the requirements using pip. If you have problems, make sure you have the right version of pip installed you may need to use pip3

pip install -r requirements/local.txt

load the demo campus, building, space data

python manage.py migrate --noinput
python manage.py loaddata initial_ltspacetype_data
python manage.py loaddata initial_poi_categories
python manage.py loaddata buildings

Configure your settings

cp settings/local.py.example settings/local.py
nano settings/local.py

Start indrz server locally with Django built in server

workon indrz
python manage.py runserver

Test if it is running

lynx http://localhost:8000/api/v1/ 

Building blocks Libraries we use

Supported and built by:

Contact: Michael Diener

Email: office@gomogi.com

[www.gomogi.com] (http://www.gomogi.com)