Coder Social home page Coder Social logo

gaybro8777 / paradise-papers-django Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j-examples/paradise-papers-django

0.0 0.0 0.0 641 KB

A simple Django web app for searching the Paradise Papers dataset backed by Neo4j

License: Apache License 2.0

Python 44.20% HTML 27.96% CSS 1.39% JavaScript 26.45%

paradise-papers-django's Introduction

paradise-papers-django

A simple Django web app for searching the Paradise Papers dataset backed by Neo4j

Welcome to Paradise Paper Search App’s Django + Neomodel Tutorial!

Requirements

  • Python 3.4+
  • Django 2.2
  • neo4j 3.0, 3.1, 3.2, 3.3, 4.0
  • neo4j-driver 1.2.1
  • neomodel 4.0.2

Quickstart

First create an sandbox database, make sure to select Paradise Papers by ICIJ under Pre-Built Data, copy the credentials: username, password and bolt URL, you are going to need that later.

# Clone this repository
git clone https://github.com/neo4j-examples/paradise-papers-django

# Go into the repository
cd paradise-papers-django/paradise_papers_search
pip install -r ../requirements.txt

# Run the app
export DATABASE_URL=bolt://user:password@hostnameOrIP:port # update with the credentials from your sandbox database.
python manage.py runserver --settings=paradise_papers_search.settings.dev

Quick Heroku Deployment with Neo4j Sandbox

Create an sandbox database, make sure to select Paradise Papers by ICIJ under Pre-Built Data. copy the database's username, password, and bolt URL.

Create a Heroku app, (for example, paradise-papers) Go to the app's settings and add the following config vars: ALLOWED_HOST : paradise-papers.herokuapp.com DATABASE_URL: the credentials from your sandbox database in the following format bolt://user:password@ip:port

Clone the repository and navigate into the directory, add Heroku as a remote, and push to Heroku:

git clone [email protected]:neo4j-examples/paradise-papers-django.git
cd paradise-papers-django
git remote add heroku https://git.heroku.com/paradise-papers.git
git push heroku master

View your app at the URL you specified earlier.

alt text


alt text


alt text

paradise-papers-django's People

Contributors

enmanuelparache avatar johnymontana avatar junior1q94 avatar mariamera avatar nossila avatar oscarpolanco avatar raulgomezc avatar whatsocks 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.