GithubHelp home page GithubHelp logo

riseofthetigers / gmmp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digideskio/gmmp

0.0 3.0 1.0 795 KB

Global Media Monitoring Project

License: Apache License 2.0

Python 97.91% JavaScript 0.24% CSS 0.28% HTML 1.57%

gmmp's Introduction

Installation

For ubuntu

sudo apt-get install libpq-dev
sudo apt-get install libpython-dev

Install a postgres db if you don't already have one

sudo apt-get install postgresql postgresql-contrib
sudo /etc/init.d/postgresql start

Install the Heroku toolbelt for deployment, database backup, etc

wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

Grab a backup of the database.

pg_dump <Database URL> > /tmp/dump # You can get the url from the Heroku config. This seems to take a long time
sudo su - postgres
createuser gmmp -W # set password to gmmp
createuser c4saadmin -W # needed to prevent error in dump file
createdb gmmp --owner gmmp
psql U gmmp <  /tmp/dump # might get an error complaining the code4saadmin doesn't exist

You'll need to install postgres, psycopg as your development user

git clone https://github.com/Code4SA/gmmp.git
cd gmmp
mkdir env
virtualenv env
source env/bin/activate 
pip install -r requirements.txt

gmmp's People

Contributors

adieyal avatar longhotsummer avatar

Watchers

 avatar  avatar  avatar

Forkers

aerialmonitor

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.