Skip to content

itsji10dra/FamilyTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FamilyTree

Pre-Requisites:

iOS App

Python App

Installation:

  • To start Django App (i.e. Server) a) Open terminal b) cd path-to-project (i.e. /Source/Server App/) c) python manage.py runserver

    • This will start server on your machine. Now to see admin dashboard,

      1. Open 'http://localhost:8000/' in your browser.
      2. Login using username: admin, password: admin12345
      3. Using admin panel, you can add person & relationships.
  • Launch iOS App

    1. Open terminal
    2. cd path-to-project (i.e. /Source/iOS App/)
    3. pod install
    4. open Assignment.xcworkspace
    5. Select 'Simulator/Device' in Xcode, & hit command+R

Database:

  • It is included in server app, no additional measures require to configure it.

Known Issues:

Issues mentioned below are in Server app.

  • If there is a relation from Son to Father in 'relation' table, and also a relation from Father to Son, it creates a infinite loop issue while fetching info for Son via API. To avoid this, make sure not to add 2 way relation in 'relation' table (via admin panel or via iOS app).