Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
languagebash
themeDJango
linenumberstrue
> cd /rmap/noid
> wget https://github.com/rmap-project/rmap/releases/download/v1.0.0-beta/noid.war
> cp noid.war /rmap/apache/tomcat8/webapps/
> wget https://github.com/rmap-project/rmap/releases/download/v1.0.0-beta/noid.sh

Edit the noid.sh and make sure the paths are pointing to the correct directories. The first path should point to the minter script, the second to the noid database folder.  Also, replace the code after the "mint" command with the argument $1 so that your file is similar to the one below.


Code Block
languagebash
themeDJango
linenumberstrue
> vi /rmap/noid/noid.sh
#!/bin/ksh
echo "Content Type: text/html\n"
/rmap/noid/noidminter/noid -f /rmap/noid/noiddb mint $1

Add environment variables to define the path for the noid script. The web service will use this to mint IDs.  

...