Code Monkey home page Code Monkey logo

familytree's Introduction

Family Tree Django Web App

Python Virtual Environment

This project requires Python 3.3 or later.

mkdir ~/virtualenv
virtualenv -p <path_to>/python3 ~/virtualenv/familytree
. ~/virtualenv/familytree/bin/activate

Before installing the requirements, ensure the pre-requisites for Pillow (a Python imaging library) are satisfied. On OS X run the following command to ensure X11 headers are available (assumes Xcode is installed):

xcode-select --install

On Ubuntu, install these libraries first to ensure JPEG support is included:

sudo apt-get install libfreetype6-dev libjpeg62 libjpeg62-dev libpng12-dev

Then install the project-specific Python libraries:

pip install -r ~/familytree/requirements.txt

Database Setup (MySQL)

CREATE DATABASE familytree CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'familytree'@'localhost' IDENTIFIED BY '<db_password>';
GRANT ALL PRIVILEGES ON familytree.* TO 'familytree'@'localhost';

Django Settings

cp secret_settings.template secret_settings.py

Edit secret_settings.py to provide your own OpenCage, MapBox and Dropbox API keys.

familytree's People

Contributors

dwdyer avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.