Giter Site home page Giter Site logo

evan-ctl / omeka Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccnmtl/omeka

0.0 0.0 0.0 27 MB

our custom omeka container

JavaScript 2.73% PHP 89.83% Java 1.92% PowerShell 0.01% XSLT 0.03% CSS 1.73% Makefile 0.01% HTML 3.67% Smarty 0.01% Batchfile 0.01% Dockerfile 0.01% TSQL 0.01% Stylus 0.06%

omeka's Introduction

CTL's Omeka container

This used to be based on erochest/omeka, but we needed to upgrade to a newer omeka, and now build the omeka image ourselves and then adds our plugins.

The db.ini looks for database credentials in the default mysql environment variables, and can be set up with a linked mysql container (in dev), or against our database server in prod.

See Dockerizing Omeka for more info.

This omeka container needs to be linked to a postfix container and a storage container, and optionally, a mysql container (unless it is set up to connect to a non-docker mysql database).

It can be started with a command similar to the following:

/usr/bin/docker run \
   -p 8880:80 \
   --volumes-from=omeka-data \
   --link mysql:mysql \
   --link postfix:postfix \
   localhost:5000/ccnmtl/omeka

Where, omeka-data is simply

/usr/bin/docker run \
   --name=omeka-data \
   -v /var/local/docker/ data/omeka-files:/app/files \
   -v /app/files \
   localhost:5000/ccnmtl/omeka \
   /bin/echo I am a data only container

docker-compose

If you have docker-compose installed, the simplest way to use this for development is to checkout the code, go into the directory with it and run:

$ docker-compose up

Then visit https://localhost:8880/install/install.php and configure your site. If you run into a message that mod_rewrite isn't enabled, you may need to manually change the path to /install/install.php (something seems buggy with omeka's module detection).

This setup should be enough to get started with, but is not ideal for production since it doesn't split out the data volume. If you want a persistent data volume, you will need to set it up as described above.

omeka's People

Contributors

thraxil avatar sdreher avatar nikolas avatar dnapier avatar evan-ctl avatar mrenoch avatar nbuonin 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.