ArchivesSpaceをDockerで起動する

概要 ArchivesSpaceをDockerで起動する機会がありましたので、備忘録です。 方法 以下に記載されています。 https://docs.archivesspace.org/administration/docker/ 以下のようにcloneした上で、コンテナを起動します。 g c d i d o t c a k c r e l c r o h n i c e v o e m h s p t s o t p s p a e s c : e u / p / g i - t d h e u t b a . c c h o m / a r c h i v e s s p a c e / a r c h i v e s s p a c e ドキュメントでは、以下のように記載されていますが、Public User interfaceは3001ポート、Staff User Interfaceは3000ポート、およびバックエンドシステムには4567ポートでアクセスできました。 ...

2025年3月11日 · 1 分 · Nakamura

ArchivesSpaceのRESTful APIを試す

概要 ArchivesSpaceのRESTful APIの一例を試してみます。 以下が公式のドキュメントです。 https://archivesspace.github.io/archivesspace/api/#introduction List all corporate entity agents 以下に記載があります。 https://archivesspace.github.io/archivesspace/api/#list-all-corporate-entity-agents デモサイトを使用した場合、以下のURLでアクセスできます。 https://sandbox.archivesspace.org/staff/api/agents/corporate_entities?page=1 結果は以下です。 { " " " " " f l t t r i a h o e { } { r s i t s , s t s a u " " " " " " " " " " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " ] " " " " } " " t _ _ l l l p c l c s u i j a , a , a , a , a , a , a , a , a , a , a , a , a , a , l , e , n , u , u , d , u , m , n , r , u a i d , t i _ p p " t o u r a r y s s s g { } g g g g g g g g g g g g g i x o s s a s e a { } e r g s i " " " " " " " " " " " " " " " " ] " ] i s p a a : s c b e s e s e _ o e e e e e e e e e e e e e e n t t e e t e t m l i e _ s l p s s c l c s u a i j c s j u , p t _ a g g " k l a t a t r s n n " " " " " " " " " " ] " ] n n n n n n n n n n n n n k e e d d e d a e " " " " " " " " " " " " " " " " ] " ] a " n l p o r o o r a r y s u s u o o s s a l r g e e 2 : _ i t _ t e _ l m t l n c l c s u i j t , n t t t t t t t t t t t t t e r s _ _ s _ d s l p s s c l c s u a i j c s j u , p t : t i l c i r r e s e s e t _ r n u o e r e e e " " 7 v s e m e m m u o _ o a r a r y s s s e o _ _ _ _ _ _ _ _ _ _ _ _ _ d n " w w _ l a " o r o o r a r y s u s u o o s s a e _ n a k m t t a t a t r h d i f r n _ a " p " : : , [ e h d o _ _ t g d c c m e s e s e _ o l t r a c o m r i s p o f t r _ a : i i o a t : c i r r e s e s e t _ r n u o e r d " t k y _ a _ _ t _ t e _ o i s e c m d l : o : r " _ d t m i _ e o k e a t a t r r n e e e l o t a e d o l c u o e a l t t f n a k m t t a t a t r h d i f r n _ a _ / y e _ v r n n e m e m m r s d r e o a l _ 3 1 s : b i i t m a l n _ " t _ t e _ e m p s c t n h i c e u a c n p s g _ [ h h _ g _ [ _ a _ _ t _ t e _ o i s e c m d l a a p d n e y a a d o _ _ t i p i e " d t e " a 1 , , i y f m i e u _ t v : e m e m m p o h " o e v e n o n r c u c i o e d i i e u r v r n n e m e m m r s d r e o a l g g e _ a r _ m m _ d t m i z l c n : e e l A g , o f " i e m " t t a e d o _ _ t r d o : r r e r t r t c e p t c u n o n n x a i e y a a d o _ _ t i p i e " d t e e e " t m s n e e b i i t m e a t c l s _ l e n a : e " e : o y c r " _ d t m i e e n d n n _ e d i e s a i s r t c _ _ i g g r _ m m _ d t m i z l c n : e e l n n : o e i a " _ y f m i e d y i e " _ " n l n " l d : " " p t s M b i i t m s l e [ _ a t a n _ f s " t o " c _ u r p s e h s n e e b i i t m e a t c l s _ t t _ " o m : a " i e m " " _ o _ l t : a e t : s " _ : " : e s i a y f m i e e _ s c t i g a i i " : i n : e r m e u t s t i a " _ y f m i e d y i e " _ " n s s " p : n e u : e " e : : n n m o y m n " e a b " 2 " " o n " i e m " n t " o e o e n d e : o s s o e p b e " s o m : a " i e m " " _ o _ l t : a " / a u " " " t d : " a " e c p [ e : 5 , d y 2 " 0 f : : n u : e " e : t y : n _ n n c e r [ n " [ " l n o l n : _ n e u : e " e : : n n m o y m : c g b { : : A o " _ : " t m : e a e s D , m " 0 2 2 a " s d : " a p t s s c e n s [ s : : e t s i c d " " " t d : " a " e c p [ e o e l l _ a b " 2 r e t l " " o " i : 2 0 2 l " [ : c " _ : " t e [ r e _ y _ t " " s s i s e [ e : : A o " _ : " t m : e a e s [ r n i 0 " l g d y 2 " 0 u " f i " : : e A n 2 2 - s a r a b " 2 i " o t d _ h i : : [ [ " " t h " c l _ a b " 2 r e t l " " p t s , A e e m " 0 2 2 e : a n , l " " - 4 0 e g 0 i d y 2 " 0 v : l s e c i f : : o e : l 0 " l g d y 2 " 0 u " f i " : : o _ h l n n i : 2 0 2 , l g " [ R l , a 0 - 5 , e , p m " 0 2 2 e s " c o s i [ [ r d a , A e e m " 0 2 2 e : a n , r c e l e n 2 2 - t s " n e e d 3 0 - n t i : 2 0 2 " " " : l d t e [ [ i _ [ r l n n i : 2 0 2 , l g " [ a o d e D r " " - 2 0 r e : a s n m - 2 1 t s n 2 2 - : a : a e o r e r a l e n 2 2 - t s " n t r _ n o a , a 0 - 5 u , m e i 2 - 7 _ " " - 2 0 g [ r s r s s e t e D r " " - 2 0 r e : a e p r e t d 5 0 - e f e a D n 3 2 T c R , a 0 - 5 t e [ a " i " " p i n o a , a 0 - 5 u , m _ o e D e m - 5 1 , a _ r o " T 5 2 o e d 5 0 - r n t : e : : o o e t d 5 0 - e f e e r c o R " i 1 - 7 l c c e , 1 T 0 r p m - 5 1 u t i s s n D e m - 5 1 , a _ n a o e e : n 7 1 T s o h 3 0 : p o i 1 - 7 e _ o [ " [ [ i s o R " i 1 - 7 l c t t r s " T 7 2 e r R : 6 4 o s n 7 1 T , c n : t " e e : n 7 1 T s o i e d R e t , 2 T 0 , p C e 4 : 6 r i " T 7 2 o s o : s " T 7 2 e r t _ " e a r 0 2 : o e s 4 0 : a t , 2 T 0 n " [ r R e t , 2 T 0 , p i e : s r u : 0 4 r n e : 2 0 t o 0 2 : t : i [ e a r 0 2 : o e n e c e 4 : 6 a t a 3 : 6 e r : 0 4 a e s r u : 0 4 r s t f a h , 6 4 : t e r 0 1 Z _ y 4 : 6 c [ s e c e 4 : 6 a / i a r : 6 0 e r c Z 2 " e " 6 4 : t " a h , 6 4 : t 1 t l c C 0 : 6 _ " h " Z , n , : 6 0 " : r : 6 0 e " y s h e 6 0 Z e , , " t 0 : 6 , c C 0 : 6 _ , " e n Z 6 " n C , i 6 0 Z [ h e 6 0 Z e , , C t " Z , t e t Z 6 " n Z 6 " n e e , " i n y " Z , C t " Z , t n r , t t " , " e e , " i t " y e , , n r , t e , " r t " y r , " e , " " r , , " , GUIでは以下のページが該当しました。 ...

2024年2月26日 · 18 分 · Nakamura

ArchivesSpaceのOAI Repositoryを試す

概要 ArchivesSpaceは、以下のように説明されています。 https://github.com/archivesspace/archivesspace Built for archives by archivists, ArchivesSpace is the open source archives information management application for managing and providing web access to archives, manuscripts and digital objects. (機械翻訳)アーキビストによってアーカイブのために構築されたArchivesSpaceは、アーカイブ、原稿、デジタルオブジェクトの管理とウェブアクセス提供のためのオープンソースのアーカイブ情報管理アプリケーションです。 この記事では、ArchivesSpaceが提供するOAI Repository機能を試します。 https://archivesspace.github.io/tech-docs/architecture/oai-pmh/ 設定 今回は、ArchivesSpaceのデモサイトを使用します。 以下にアクセスし、必要な設定を行います。 https://sandbox.archivesspace.org/staff/oai_config/edit メタデータフォーマットの一覧を取得する 以下により、メタデータフォーマットの一覧を取得できました。 https://sandbox.archivesspace.org/oai?verb=ListMetadataFormats 以下が結果です。oai_dc、oai_ead、oai_dcterms、oai_marc、oai_modsが利用可能なことが確認できます。 < < < < < < < < < < < < < < < < < < < < < < < < < O s r r L m m s m / m m s m / m m s m / m m s m / m m s m / / / A c e e i e e c e m e e c e m e e c e m e e c e m e e c e m L O I r s q s t t h t e t t h t e t t h t e t t h t e t t h t e i A - i p u t a a e a t a a e a t a a e a t a a e a t a a e a t s I P p o e M d d m d a d d m d a d d m d a d d m d a d d m d a t - M t n s e a a a a d a a a a d a a a a d a a a a d a a a a d M P H / s t t t t > t a t t > t a t t > t a t t > t a t t > t a e M > e a a a h a t a a h a t a a h a t a a h a t a a h a t t H x D v d F P t N a F P t N a F P t N a F P t N a F P t N a a > m a e a o r t a F o r t a F o r t a F o r t a F o r t a F d l t r t r e p m o r e p m o r e p m o r e p m o r e p m o a n e b a m f : e r m f s e r m f : e r m f s e r m f s e r t s > = F a i / s m a i : s m a i / s m a i : s m a i : s m a = 2 " o t x / p a t x / p a t x / p a t x / p a t x / p a F " 0 L r > > w a t > > a t > > d a t > > a t > > a t o h 2 i m o w c > w c > o u c > w c > w c > r t 4 s a a w e a w e a b e a w e a w e m t - t t i . > i w > i l > i w > i w > a p 0 M s _ o h _ . h _ i h _ . h _ . h t : 2 e > d p t e l t d n t m l t m l t s / - t c e t a o t c c t a o t o o t > / 2 a < n p d c p t o p r c p d c p w 6 d / a : < . : e r : c . : s . : w T a m r / g r e < g < g w 1 t e c / m / m . / / / / . 2 a t h w e w s p m w m w o : F a i w t / w < r u e / w e / w p 1 o d v w a e w / g r t s w t s w e 1 r a e . d a . m / l a t . a t . n : m t s o a d l e s . d a l d a l a 1 a a . p t / o t c o a n o a n o r 5 t P o e a e c a h r t d c t d c c Z s r r n P a . d e g a a . a a . h < " e g a r d g a m / P r g P r g i / > f / r e . o t a d r d o r d o v r h i O c f x v a s c e s e s e e t x A h i s / P / / f / / f / / s s t > I i x d e r x t i m M i m m . p p / v > < a e m e x a A x o o o o s 2 e / d f l r > r R > d d r n : . s s / i s m c C s s g s / 0 . c < x / s x 2 / / / e / o h / > q / m 1 v O D s o r e m d < l 3 3 A a a a g m e c s / < I t n i / a t m s l m / e d _ O > a 2 e c i m 2 > b d A d 0 t h m d e . o c I a 0 a e < s t 0 x . / t 8 d m / - a / . x 2 a / a a m 3 d " a s . N 0 t / e - a r d 0 a 2 a M t 6 t x c < m / N A a . a m h o e 1 a R d x N l i s a s 1 m C a s a n v c i p / e 2 t d m s e h _ a d s 1 a < e : s e d c c p s N / s x s m c e t a l a s p s p a / > e c i m c a i a > < r e m e h c = c / m > . s e e " e m s x p m > h . e . s a a t o t x d c > t r a s < e p g d d / > : / a < s / < t / c / / a s h w r N c e w e a h m w q m e a . u e m > w e s a 3 s p > . t a o > c r e g > / 2 0 0 1 / X M L S c h e m a - i n s t a n c e " x s i : s c h e m a L o c a t i o n = " h t t p : / / w w w . o p e n a r c h i v e s . o r g / O A I / 2 . 0 / h t t p : / / w w w . o p e n a r c h i v e s . o r g / O A I / 2 . 0 / O A I - P M H . x s d " > セットの一覧を取得する 以下により、セットの一覧を取得できました。 ...

2024年2月26日 · 53 分 · Nakamura

ArchivesSpaceをUnixのデーモンとして実行する

以下に記載がありました。 https://archivesspace.github.io/tech-docs/administration/unix_daemon.html 具体的には、以下のように実行すれば良いようです。 c d / a / r h c o h m i e / e u s b s u p n a t c u e / . a s r h c h s i t v a e r s t s p a c e /

2023年2月10日 · 1 分 · Nakamura

Amazon LightsailにArchivesSpaceを立てる

概要 ArchivesSpaceは、アーカイブ、マニュスクリプト、デジタルオブジェクトを管理し、Webアクセスを提供するためのオープンソースのアーカイブス情報管理アプリケーションです。 https://archivesspace.org/ このArchivesSpaceをAmazon Lightsailに立てる機会がありましたので、その備忘録です。 以下のページにインストール方法が記載されています。 https://archivesspace.github.io/tech-docs/readme_implement.html インスタンス Ubuntu 20.04 LTSを選択しました。 以下のような記載がありましたが、2GBのメモリでは動作が重たかったため、4GBを選択しました。 At least 1024 MB RAM allocated to the application; at least 2 GB for optimal performance. インストール まず、ArchivesSpaceをダウンロードします。 c s s d u u d d / o o h o a a m p p e t t / - - u g g b e e u t t n t - - u y y / u u p p d g a r t a e d e いったん確認が求められます。 ...

2023年2月10日 · 8 分 · Nakamura