monarch-initiative/phenopacket-scraper-webapp

Name: phenopacket-scraper-webapp

Owner: Monarch Initiative

Description: null

Created: 2016-05-15 20:14:35.0

Updated: 2016-07-20 23:36:11.0

Pushed: 2016-08-23 18:35:36.0

Homepage: null

Size: 763

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Phenopacket-Scraper-Webapp

A web application that utilizes phenopacket-scraper-api to provide a demonstration portal for users to select a target for scraping and to view or export the resulting phenopacket.

Setup:

To get the project's source code, clone the github repository:

$ git clone https://github.com/monarch-initiative/phenopacket-scraper-webapp.git

Install VirtualEnv using the following:

$ [sudo] pip install virtualenv

Create and activate your virtual environment (with python 3):

$ virtualenv venv
$ source venv/bin/activate

Install all the required packages:

$ venv/bin/pip install -r requirements.txt

Create your database and the superuser by running this from the pps_webapp/ directory of the repository:

$ python manage.py migrate
$ python manage.py createsuperuser

Setup phenopacket-scraper api by following instructions from this repository:

Usage

To run the server enter the following in the pps_webapp/ directory of the repository

$ python manage.py runserver

Run the phenopacket-scraper-api in a different port by entering this in phenopacketscraper/ directory of the API repository:

$ python manage.py runserver localhost:8001

Now you can go to your browser and test it using:

http://localhost:8000/

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.