forked from scalatra/scalatra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |