Public Repository

Last pushed: 7 months ago
Short Description
Arches v3 image version 1
Full Description

Arches (http://www.archesproject.org) is an open source inventory and management system for the heritage field, developed jointly by the Getty Conservation Institute and World Monuments Fund.

This images is built based on Arches version 3.

Document:
http://arches3.readthedocs.io/en/latest/
http://arches-hip.readthedocs.io/en/latest/

Source code:
http://github.com/archesproject/arches
http://github.com/archesproject/hip

HOW TO USE IT

  1. Install docker application

  2. Download the image
    $ docker pull oixhwotl/arches3-v1

  3. Copy out my_Hip_app to local storage if you don't have your own app
    (If you have your own files, then this step is not necessary. <local storage path> represent the path to your files)
    $ docker run -it oixhwotl/arches3-v1
    # exit
    $ docker ps -a
    (get the image contianer id)
    $ docker cp <container id>:/roiot/my_hip_app <local storage path>

  4. Run server mounting your app
    $ docker run -it -p 8000:8000 -v <local storage path>:/root/my_hip_app --name arches oixhwotl/arches3-v1
    # start_services.sh
    (this will start PostgreSQL and ElasticSearch)
    # cd my_hip_app
    # python manage.py packages -o install
    # python manage.py runserver 0.0.0.0:8000

Before exiting the container, save your data by following the instructions in this post: https://groups.google.com/forum/#!searchin/archesproject/script%7Csort:relevance/archesproject/sXu6qpMuoAs/qDKQlQstIwAJ

  1. To run again
    $ docker start arches && docker attach arches
    ... and you know what to do

The data directory of PostgreSQL is also exportable, and you can create persistent data container for it.
https://docs.docker.com/engine/tutorials/dockervolumes/

For Windows, use following command to check and forward the connection

netsh interface portproxy show all
netsh interface portproxy add v4tov4 listenport=80 connectport=8000 connectaddress=<docker ip>
netsh interface portproxy del v4tov4 listenport=80

Docker Pull Command
Owner
oixhwotl

Comments (0)