Skip to content

Creating a new echomesh project

Tom Swirly edited this page Jun 19, 2013 · 1 revision

Creating your first echomesh project.

Start by creating a new directory for the project.

$ cd ~
$ mkdir my-project
$ cd my-project
$ echomesh
There doesn't seem to be an echomesh project in your directory "/home/pi/my-project".

Would you like an empty project created for you? (Y/n) 

Press return and you'll see the following output on the Raspberry Pi (and something quite similar on Mac OS/X):

/home/pi/my-project/cache
/home/pi/my-project/command
/home/pi/my-project/command/master
/home/pi/my-project/command/master/score
/home/pi/my-project/command/master/score/sample-score.yml
/home/pi/my-project/command/master/config.yml
/home/pi/my-project/command/name
/home/pi/my-project/command/name/hofmann
/home/pi/my-project/command/name/hofmann/score
/home/pi/my-project/command/name/hofmann/config.yml
/home/pi/my-project/asset
/home/pi/my-project/asset/image
/home/pi/my-project/asset/audio
/home/pi/my-project/README.txt
/home/pi/my-project/log

Empty echomesh project created.

Type help for a list of commands.

echomesh:

This is the "echomesh prompt". Whenever you see "echomesh:", it means that echomesh is waiting for you to enter information.

So let's actually run an echomesh score! The installation procedure creates a score for you, called sample-score.yml. To run it, at the echomesh prompt type:

echomesh: start sample-score

Hello, world!
Start sample-score.

Congratulations, you ran your first echomesh score. Hello, world! was printed out by the your score, and Start sample-score is a message from echomesh. To exit echomesh, type q (or quit):

echomesh: q
echomesh shut down at your request.

Clone this wiki locally