An application that creates and displays user's family tree written in Django.
This web application creates family trees, where users can mangage and edit information on them.
Main features that are currently implemented are:
To get this web application working:
Assuming you have Python setup, run the following commands (if you're on Windows you may use py
or py -3
instead of python
to start Python):
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser # Create a superuser
python3 manage.py runserver
http://127.0.0.1:8000/admin/
to open the admin sitehttp://127.0.0.1:8000
to see the main site.This is the default Django address. Django is able to run on any IP address and port.
python3 manage.py runserver <your IP address>:<desired port>
Django-allauth requires uses the database to store authentication information; this is highly convenient with regards to git, since it means that there is no chance of accidentally committing private information. In order to set up your installation with this feature, you will need an Google API application with Client ID and key. See the Google developer console to make a new project.
Briefly, here's what you need in terms of the Google API:
127.0.0.1:8000
.[site root]/accounts/google/login/callback
added to redirect URIs. For a local install this will be
http://127.0.0.1:8000/accounts/google/login/callback/
.The Google Console will need further configuration in a production environment.
In the admin page (/admin
):
127.0.0.1:8000
; the display name is usually the same.If the application does not work, please check to see if there is migrations
folder inside the webapp
folder.
If there isn't, please make a migrations
folder inside the webapp
folder.
Then, create a file called __init__.py
and place it inside the migrations
folder.
This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details