pekko/akka-docs/modules/microkernel.rst

41 lines
1,007 B
ReStructuredText
Raw Normal View History

2011-05-25 14:52:27 -07:00
.. _microkernel:
#############
Microkernel
#############
Run the microkernel
===================
To start the kernel use the scripts in the ``bin`` directory.
All services are configured in the :ref:`configuration` file in the ``config`` directory.
Services you want to be started up automatically should be listed in the list of ``boot`` classes in
the :ref:`configuration`.
2011-05-25 14:52:27 -07:00
Put your application in the ``deploy`` directory.
Akka Home
---------
Note that the microkernel needs to know where the Akka home is (the base
directory of the microkernel). The above scripts do this for you. Otherwise, you
can set Akka home by:
* Specifying the ``AKKA_HOME`` environment variable
* Specifying the ``-Dakka.home`` java option
.. _hello-microkernel:
Hello Microkernel
=================
There is a very simple Akka Mist sample project included in the microkernel
``deploy`` directory. Start the microkernel with the start script and then go to
http://localhost:9998 to say Hello to the microkernel.