DocumentationGuidesCreating your first applicationCreating the application

Creating the application

First, you need to create a new directory for your application. Call it chat:

$ mkdir chat

Initializing the application

From inside this directory, run the following command to initialize a new wolkenkit application using a ready-made template:

$ wolkenkit init

Running your application

Now run your application by using the following command, and wait for a success message:

$ wolkenkit start

Running the client

To run the client for your application, you first need to install an HTTP server. We are using http-server that can easily be installed by using the following command:

$ npm install -g http-server

Once you have done that run the client using the following command. This will automatically launch a browser and open the client:

$ http-server ./client/ -o

Lets's chat!

You are now able to chat. This even works with multiple browsers concurrently:

The chat application

Yay, congratulations!

You have initialized and run your first wolkenkit application!

All in all, this was pretty easy because you were able to use a template. If you want to learn to build a chat by yourself, have a look at creating an application from scratch. For now, we wish you some happy chatting 😊!