Skip to content

zhangwenjin/indrz

 
 

Repository files navigation

indrz open source wayfinding, routing, navigation

Project homepage [www.indrz.com] (http://www.indrz.com) digital wayfinding indoors, maps, orientation and indoor routing for buildings large or small, app or webpage. GitHub stars GitHub Issues GitHub release license Twitter

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.txt

load the demo campus, building, space data

pip install -r requirements.txt
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)

About

Django App for indoor maps, orientation and wayfinding API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 27.6%
  • Python 24.7%
  • QML 22.2%
  • HTML 13.5%
  • CSS 9.6%
  • PLpgSQL 2.4%