Git Product home page Git Product logo

pggallery's Introduction

pgGallery

A web based photo gallery powered by Postgres and Spring.

Roadmap

See http://www.chotchki.us/pggallery and the milestone list here

Installation

  1. Setup an installation of PostgreSQL 9.1

    1. For linux "apt-get install postgresql-9.1"
    2. For windows goto postgresql.org, download and run their installer.
  2. Create a database superuser, for example "pgGallery-admin"

    1. Run "createuser -d -P -s -h YOUR_DB_HOST pgGallery-admin"
    2. Set the password to something strong and random, this will be an admin db account.
  3. Create the actual database.

    1. Run "createdb -h YOUR_DB_HOST -U pgGallery-admin -O pgGallery-admin pgGallery "The pgGallery database."
  4. Check out the code from GitHub

    1. Create a directory to hold the web code, for example "c:\temp\pgGallery" or ~/pgGallery
    2. git clone git://github.com/chotchki/pgGallery.git into that directory
  5. Edit the Jetty config in the src/main/webapp/WEB-INF/jetty-env.xml file.

    1. Edit all the host, user and password fields to match what you created above.
  6. Ensure you have GraphicsMagick installed. The installer will not complete without it.

    1. The binary must be on your PATH. To check open a command prompt and run "gm". If it runs successfully you are good.
  7. Ensure you have Maven installed.

  8. Start the site.

    1. cd /CHECKOUT/DIR
    2. mvn jetty:run

Support / Development

We are on Google Groups and the support address is [email protected].

DEVELOPMENT NOTES - will move to another file sometime

Rights ANON - Can view public albums GALLERY_READONLY - Can view private albums GALLERY_COMMENT - Can comment on albums GALLERY_EDIT - Can add/delete/modify photos/albums

USER_REGISTERED - Just signed up, cannot do anything
USER_NORMAL - Entry level
USER_ADMIN - Can edit other users

pggallery's People

Contributors

chotchki 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.