Running Cobra the first time
Posted: Tue Jul 06, 2010 9:23 pm
mchean wrote:...I would like some kind of instructions on how to setup the Cobra env. such that one just unzips - and then is able to compile and run the Hello sample for instance. Quick and easy gratification without any in depth knowledge of the .Net and its setup.
To run the most recent release, try this:
Download the prominent .zip for Windows, or .tar.gz for other systems, at the Downloads page. Currently that is Cobra-2010-04-02
If you are on Mac or Linux, you will need to install Novell Mono if you don't have it already. If you are on Windows, you probably already have .NET 2.0 or higher.
Unzip (or untar) the file.
Change to the directory such as "cd Cobra-2010-04-02"
Examine the "read me" file and follow its directions.
Afterwards, create a new Cobra file in your own directory such as:
class MyProgram
def main
print 'Hello.'
And run with "cobra hello.cobra" at the command line.
mchean, please provide feedback on the above. Is there a step missing? Is anything unclear? We can then make these instructions more prominent on the downloads page.