Skip to content

Commit

Permalink
Updated getting started, probably needs a little more checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesladd committed May 25, 2013
1 parent 8e9b69c commit 95771b6
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions discover/getting-started.html
Expand Up @@ -20,7 +20,7 @@
>wget https://github.com/redline-smalltalk/redline-smalltalk.github.com/raw/master/assets/redline-deploy.zip
>unzip redline-deploy.zip -d redline
>cd redline
>./stic st.redline.example.HelloWorld
>java -cp test-classes:lib/redline-0.5-SNAPSHOT.jar:lib/antlr-runtime-3.4.jar:lib/asm-4.1.jar st.redline.Stic st.redline.example.HelloWorld
{% endhighlight %}
</p>

Expand All @@ -41,7 +41,7 @@
When you want to run the Smalltalk Test Suite to ensure the runtime is working as expected you need to do the above quick start then issue the following command on your command line / shell. Note: When you build Redline from the sources the Smalltalk Test Suite is automatically run with each build.

{% highlight bash %}
>./stic st.redline.kernel.TestRunner
>java -cp test-classes:lib/redline-0.5-SNAPSHOT.jar:lib/antlr-runtime-3.4.jar:lib/asm-4.1.jar st.redline.Stic st.redline.kernel.TestRunner
{% endhighlight %}
</p>
<p>
Expand Down Expand Up @@ -146,7 +146,7 @@
{% highlight bash %}
>cd target/redline-deploy/
>export REDLINE_HOME=`cd "$REDLINE_HOME" > /dev/null && pwd`
>./stic -s examples/ st.redline.HelloWorld
>java -cp test-classes:lib/redline-0.5-SNAPSHOT.jar:lib/antlr-runtime-3.4.jar:lib/asm-4.1.jar st.redline.Stic st.redline.example.HelloWorld
{% endhighlight %}
</p>

Expand All @@ -164,20 +164,6 @@
'st/redline'. Please take a moment to look at the contents of this file.
</p>

<p>
If you run 'stic' without arguments you will see some usage information, from which you can see how to run scripts with sources
and libraries in different locations. The usage looks like this:
{% highlight bash %}
usage: stic [options] <source files>
-?,--help print this message.
-e <input> execute the Smalltalk code (enclosed in "" double quotes).
-r <path> where to find Redline. Defaults to environment REDLINE_HOME.
-s <paths> where to find input source files. Separate each path with :.
The paths src/main/smalltalk and src/test/smalltalk are
included by default. Ignored if -e specified.
-v,--verbose output messages about what Redline is doing.
{% endhighlight %}
</p>
<p>
This process has got the latest Redline Smalltalk source code, built it and ran a Smalltalk example. You may want to put the
resulting Redline Smalltalk code elsewhere on your system. If you do want to do this then copy the entire redline-deploy folder to
Expand Down

0 comments on commit 95771b6

Please sign in to comment.