Git Product home page Git Product logo

bm.gallery's Introduction

Introduction
============

This is bm.gallery, a media gallery application intended for use on
the burningman.com website.  It is built on top of Django, a web
application framework, using the Python programming language.
Installation is handled via zc.buildout.


Getting Started
===============

To get started w/ a development instance of the bm.gallery project on
a POSIX-like system (i.e. anything except Windows) you should perform
the following steps:

 - Copy the src/bm.gallery/bm/gallery/local_settings.py.example file
   to src/bm.gallery/bm/gallery/local_settings.py, then edit this file
   to specify site-specific settings.  The example lists the required
   settings.

 - run 'python2.5 bootstrap.py -v1.4.3' (python2.6 mostly works, but
   some changes in the imaging library can sometimes cause problems
   when images are being scaled)

 - run './bin/buildout'

This will launch the build process, which will take a short while,
probably at least a few minutes.  Hopefully this will go smoothly, but
you may see errors here related to missing dependency libraries on
your system.  If this is the case, please contact the developer for
support resolving these issues.

Before you can use this software you must set up a PostGreSQL
database, using the name, owner, and password specified in the
local_settings.py file.  Also, the PL/Python language must be
installed.  Assuming PostGreSQL is installed on your host, this can
usually be achieved with the following commands, run as the "postgres"
user:

 $ createuser <DATABASE_USER>
 $ psql
 postgres=# \password <DATABASE_USER>
 <enter password as prompted>
 postgres=# \q
 $ createdb -O <DATABASE_USER> <DATABASE_NAME>
 $ createlang plpgsql <DATABASE_NAME>

...where "$" is the shell prompt and "postgres=#" is the psql client
prompt.

Once the software has been successfully built and the database has
been set up, you will run the following commands:

 - './bin/django syncdb': This initializes the database with the
   required tables and initial data.  The first time you try this you
   will be prompted to enter a superuser username and password.  Also,
   first time you run this you will see a big warning message about
   LDAP groups not being initialized.  Follow the instructions of
   that message and again run:

 - './bin/django syncdb': The second run of this command finishes the
   initialization.

 - './bin/django runserver': To start the development server.

At this point you should have a fully functional gallery application
running in development mode on http://localhost:8000/.

Congratulations!

bm.gallery's People

Contributors

rafrombrc avatar

Stargazers

 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.