Add notes for 2017-04-19

This commit is contained in:
Alan Orth 2017-04-19 15:39:19 +03:00
parent 07849b9b13
commit beac46e9db
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 35 additions and 8 deletions

View File

@ -238,3 +238,16 @@ $ ansible linode02 -u aorth -b --become-user=postgres -K -m postgresql_user -a '
``` ```
- Need to look into [running this via systemd](https://github.com/puma/puma/blob/master/docs/systemd.md) - Need to look into [running this via systemd](https://github.com/puma/puma/blob/master/docs/systemd.md)
- This is interesting for creating runnable commands from `bundle`:
```
$ bundle binstubs puma --path ./sbin
```
## 2017-04-19
- Usman sent another link to their OAI interface, where the country names are now capitalized: https://data.cifor.org/dspace/oai/cgiar?verb=GetRecord&metadataPrefix=dim&identifier=oai:data.cifor.org:11463/947
- Looking at the same item in XMLUI, the countries are not capitalized: https://data.cifor.org/dspace/xmlui/handle/11463/947?show=full
- So it seems he did it in the crosswalk!
- Keep working on Ansible stuff for deploying the CKM REST API
- We can use systemd's `Environment` stuff to pass the database parameters to Rails

View File

@ -30,7 +30,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th
<meta property="article:published_time" content="2017-04-02T17:08:52&#43;02:00"/> <meta property="article:published_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-04-17T15:01:57&#43;03:00"/> <meta property="article:modified_time" content="2017-04-18T16:58:55&#43;03:00"/>
@ -79,9 +79,9 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p &quot;ImageMagick PDF Th
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "April, 2017", "headline": "April, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-04/", "url": "https://alanorth.github.io/cgspace-notes/2017-04/",
"wordCount": "1634", "wordCount": "1712",
"datePublished": "2017-04-02T17:08:52&#43;02:00", "datePublished": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-04-17T15:01:57&#43;03:00", "dateModified": "2017-04-18T16:58:55&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -434,6 +434,20 @@ $ rails -s
<ul> <ul>
<li>Need to look into <a href="https://github.com/puma/puma/blob/master/docs/systemd.md">running this via systemd</a></li> <li>Need to look into <a href="https://github.com/puma/puma/blob/master/docs/systemd.md">running this via systemd</a></li>
<li>This is interesting for creating runnable commands from <code>bundle</code>:</li>
</ul>
<pre><code>$ bundle binstubs puma --path ./sbin
</code></pre>
<h2 id="2017-04-19">2017-04-19</h2>
<ul>
<li>Usman sent another link to their OAI interface, where the country names are now capitalized: <a href="https://data.cifor.org/dspace/oai/cgiar?verb=GetRecord&amp;metadataPrefix=dim&amp;identifier=oai:data.cifor.org:11463/947">https://data.cifor.org/dspace/oai/cgiar?verb=GetRecord&amp;metadataPrefix=dim&amp;identifier=oai:data.cifor.org:11463/947</a></li>
<li>Looking at the same item in XMLUI, the countries are not capitalized: <a href="https://data.cifor.org/dspace/xmlui/handle/11463/947?show=full">https://data.cifor.org/dspace/xmlui/handle/11463/947?show=full</a></li>
<li>So it seems he did it in the crosswalk!</li>
<li>Keep working on Ansible stuff for deploying the CKM REST API</li>
<li>We can use systemd&rsquo;s <code>Environment</code> stuff to pass the database parameters to Rails</li>
</ul> </ul>

View File

@ -3,7 +3,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-04/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-04/</loc>
<lastmod>2017-04-17T15:01:57+03:00</lastmod> <lastmod>2017-04-18T16:58:55+03:00</lastmod>
</url> </url>
<url> <url>
@ -93,7 +93,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-04-17T15:01:57+03:00</lastmod> <lastmod>2017-04-18T16:58:55+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -104,19 +104,19 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-04-17T15:01:57+03:00</lastmod> <lastmod>2017-04-18T16:58:55+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc> <loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-04-17T15:01:57+03:00</lastmod> <lastmod>2017-04-18T16:58:55+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-04-17T15:01:57+03:00</lastmod> <lastmod>2017-04-18T16:58:55+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>