Crowfunding WebSite for Ego Oyiri Project
Follow these steps to get started:
-
Git-clone this repository.
$ git clone https://github.com/egoOyiri/egofunding.git egofunding
-
Change directory into your clone:
$ cd egofunding
-
Launch SBT:
$ sbt
-
Compile everything and run all tests:
> test
-
Start the application:
> re-start
-
Browse to http://localhost:8080/
-
Stop the application:
> re-stop
-
Learn more at http://akka.io and http://spray.io/
-
Start hacking on
src/main/scala/org/egooyiri/EOService.scala
-
Launch SBT with eclipse argument:
$ sbt eclipse
-
Test in Eclipse:
In Eclipse run EOServiceSpec as JUnit or Scala Tests
-
Launch SBT with IDEA argument:
$ sbt gen-idea
-
Test in IDEA:
In IDEA simply run EOServiceSpec
Follow these steps to deploy:
-
Generate the Über-jar file:
$ sbt assembly
-
run:
$ java -jar target/scala-2.10/egofunding-assembly-0.1.jar
-
test:
* in your favorite browser paste the URL http://localhost:8080 * stop testing http://localhost:8080/stop?method=post $ curl -v http://localhost:8080/stop?method=post