Giter VIP home page Giter VIP logo

rooibos's Introduction

Madison Digial Image Database (MDID)

The Madison Digital Image Database is a free, open source media repo aimed at education spaces. It was created at James Madison University.

Code Issues

Django 1.8.x upgrade - clone to a new directory

Status: Currently in a "for developers only/get it running" state - will work on an existing mdid3 installation's database, although obvs don't run it against a production database.

This branch has the potential to mess up the organization of a django 1.2.7 based branch, so git clone to seperate directory for testing

I'm currently running it on OS X but I tried to make any settings changes as generic as possible (I made most if not all directories set relative to PROJECT_ROOT)

setting up

I'd recommend making a fresh virtual env with python 2.7.x so everything has that 'oh-so-fresh' feeling!

I've been developing/testing this fork with an export of a production database and I haven't hit a snag, so right on!

big change notes

  • Switched static files to the staticfiles app, so a good start for running against an already existing database after setting up your virtualenv is:
pip install -f requirements.txt
./manage.py collectstatic
./manage.py migrate --fake-initial
./manage.py runserver
  • Note that as of Django 1.7 migrations are a requirement, so you must run the `./manage.py migrate' command before starting or... bad things, I guess. The repo includes an untested, pre-generated migrations file so installation should not have to involve If you are working with a pre-existing database copy (please please do not run this against your production data!) you should use this command:
./manage.py migrate --fake-initial
  • Following the newer django convention, moved the main app files to a 'project' directory, and followed Jeff Knupp's advice that this is really a 'config' directory, so settings file plus the main urls & wsgi files are in the PROJECT_ROOT/config directory, collected staticfiles are in PROJECT_ROOT/static, and local templates are in PROJECT_ROOT/templates.

  • A goal is to get anything in rooibos.contrib out of that dir and to use the requirements.txt file to install libraries in the standard way (or remove them if no longer needed e.g. django-logging).

    • BeautifulSoup.py
    • backends
    • cloudfiles
    • compressor
    • django_extensions
    • djangologging
    • google_analytics * (note this library may need a replacement found)
    • impersonate
    • ipaddr.py
    • pagination
    • pyPdf
    • south
    • sql_server
    • tagging

rooibos's People

Contributors

hanleybrand avatar knabar avatar sstults avatar trott avatar

Watchers

 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.