Morrigan server quick start guide

From Vague Hope Wiki
Revision as of 16:20, 17 January 2011 by Haku (Talk | contribs) (Create DB)

Jump to: navigation, search

Install

  • Uncompress the download in a directory of your choice, such as ~/opt/.
$ cd ~/opt/
$ unzip morrigan-server-a7-20110115_0037-linux.gtk.x86.zip

Start

  • Start screen.
  • cd into install directory (this bit is important - will fix this defect at some point).
  • Execute 'morriganserver'.
  • The HTTP interface will listen on port 8080 (at the moment this is not configurable).
$ screen
$ cd ~/opt/morrigan-server
$ ./morriganserver

Create DB

Create the first database and add a directory to it. Multiple directories can be added. The request a scan to update that library. At the moment this scan echos a ridiculous amount of stuff to the console - this will be fixed at some point.

osgi> mn media create mymusic
osgi> mn media add /home/me/media/music mymusic
osgi> mn media scan mymusic

Play

Use the Android client. Or alternatively:

osgi> mn play mymusic

For more commands:

osgi> help