Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sri-rang committed Mar 8, 2011
1 parent 718bd9f commit add75c1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# Simple Scalatra Archetype

An Apache Maven archetype to generate a simple Scalatra webapp.
An [Apache Maven](http://maven.apache.org/) archetype to generate a simple [Scalatra](http://scalatra.org) webapp. This archetype is based on the [scalatra-maven-prototype](https://github.com/Srirangan/scalatra-maven-prototype).

# Quick Start

0. This archetype has not been published on Maven central repositories so you need to clone this project and install it in your local repository:
git clone git://github.com/Srirangan/simple-scalatra-archetype.git simple-scalatra-archetype
cd simple-scalatra-archetype
mvn install

1. Generate your Scalatra project
mvn archetype:generate -DarchetypeArtifactId=simple-scalatra-archetype -DarchetypeGroupId=org.scalatra -DarchetypeVersion=1.0-SNAPSHOT -DgroupId={TempGroupId} -DartifactId={TempArtifactId}

2. Switch to the project directory
cd {TempArtifactId}

3. Install your project
mvn install

4. Run Jetty webserver
mvn jetty:run

0 comments on commit add75c1

Please sign in to comment.