-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (25 loc) · 818 Bytes
/
index.html
File metadata and controls
38 lines (25 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
layout: main
---
<div class="hero-unit">
<h1 id="hero-text">
<img src="img/large-logo.png" style="width:700px;max-width:100%">
</h1>
<h4>
A <a href="http://gosu-lang.github.io">Gosu</a> DSL for the web, based on <a href="http://www.sparkjava.com/">SparkJava</a>
</h4>
</div>
<div class="row">
<div class="col-md-12">
<h3>Quick Start</h3>
<p>1. Install <a href="http://gosu-lang.github.io">Gosu</a></p>
<p>2. Save this code to <code>spark.gsp</code></p>
<pre class="prettyprint">
classpath "org.gosu-lang.gosu:sparkgs:0.1.0"
extends sparkgs.SparkGSFile
get('/', \-> "Hello World")
</pre>
<p>3. Fire it up: <code>$ gosu spark.gsp</code></p>
<p>4. Check it out at <a href="http://localhost:4567/">http://localhost:4567/</a>
</div>
</div>