pekko/akka-docs/src/main/paradox/scala/guide/quickstart.md

27 lines
1.9 KiB
Markdown
Raw Normal View History

# Quickstart
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
After all this introduction, we are ready to build our first actor system. We will do so in five chapters.
This first chapter will help you to set up your project, tools and have a simple "Hello World" demo running.
2017-05-12 13:43:33 +02:00
We will keep this section to a bare minimum and then extend the sample application in the next chapter.
2017-02-27 10:09:36 +01:00
> Our goal in this chapter is to set up a working environment for you, create an application that starts up and stops
2017-05-12 13:43:33 +02:00
an ActorSystem and create an actor which we will run and test.
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
Akka requires that you have [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or
later installed on your machine.
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
As the very first thing, we need to make sure that we can compile our project and have a working IDE setup to be
able to edit code comfortably.
2017-05-12 13:43:33 +02:00
**FIXME all links to hello-akka shall be replaced by akka-scala-seed / akka-java-seed**
2017-05-12 13:43:33 +02:00
The easiest way is to use the @scala[`akka-scala-seed` in [Get started with Lightbend technologies](http://dev.lightbend.com/start/?group=akka&project=hello-akka)] @java[`akka-java-seed` in [Get started with Lightbend technologies](http://dev.lightbend.com/start/?group=akka&project=hello-akka)]
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
1. Enter Project Name and create the project from the @scala[[akka-scala-seed](http://dev.lightbend.com/start/?group=akka&project=hello-akka)] @scala[[akka-java-seed](http://dev.lightbend.com/start/?group=akka&project=hello-akka)] page.
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
1. Unzip the zip file and rename the directory to your preference.
1. Read the @scala[[Guide](http://developer.lightbend.com/guides/hello-akka/)] @java[[Guide](http://developer.lightbend.com/guides/hello-akka/)] for this example project. It describes the example, the basic concepts of actors and how to run the "Hello World" application. **FIXME the Guide is in progress [here](https://github.com/akka/akka-scala-seed.g8/pull/4/files#diff-179702d743b88d85b3971cba561e6ace)**.
2017-02-27 10:09:36 +01:00
2017-05-12 13:43:33 +02:00
After that you can go back here and you are ready to dive deeper.