Giter Club home page Giter Club logo

collectiveaccess's Introduction

CollectiveAccess

News

  • Providence Version 1.7.17

About

  • Contains both Providence and Pawtucket2
  • Contains mysql
  • Pawtucket is accessed by https://domain_or_ipaddress:port/
  • Providence is accessed by https://domain_or_ipaddress:port/providence

Note

You should not use the latest tag, it is unstable and can break.

The DISPLAY_NAME is the name of your archive that will show in the tab title and on Pawtucket.

Pull Requests

If you fork the repo and make some changes that other's can use as well, please contribute them back as a PR!

Thanks to @martjanz for contributing.

Image build

docker build --tag collective:latest .

Usage with Docker Compose

docker-compose -p collectiveaccess up -d

The first time this command is run MySQL database will be created from scratch.

If any error occur you can check containers status with docker ps -a and if something happened on backend container probably is due to a lagged start of MySQL server. Running docker-compose -p collectiveaccess up -d will trigger a backend restart and will fix it.

Providence (admin UI) will be running on http://server-ip:8080/providence Pawtucket (client UI) will be running on http://server-ip:8080/

Usage with Docker

# Run mysql container
docker run
    --name ca_mysql
    -e MYSQL_USER=user
    -e MYSQL_PASSWORD=pass
    -e MYSQL_DATABASE=collective
    -e MYSQL_ROOT_PASSWORD=rootpass
    -v /var/ca/mysql:/var/lib/mysql
    -d
    mysql:5.7

# Run the collective access container
docker run
    -–link ca_mysql:mysql
    -p 8080:80
    -e DB_HOST=ca_mysql
    -e DB_USER=user
    -e DB_PASSWORD=pass
    -e DB_NAME=collective
    -e DISPLAY_NAME="My Archive"        # optional
    -e [email protected] # optional
    -e SMTP_SERVER=mail.my-archive.tld  # optional
    -v /var/ca/conf:/var/www/providence/app/conf
    -v /var/ca/media:/var/www/providence/media/
    pkuehne/collectiveaccess:1.1.0

# Go to https://domain_or_ip:8080/providence to setup the database structure

collectiveaccess's People

Contributors

pkuehne avatar ammopt avatar albertocpbranco avatar martjanz 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.