Slackir

Now that you have all of your development tools and dependencies installed you can start working on developing your first application Slackir! It's like Slack but in Elixir. Slackir will make the most of phoenix’s web sockets and evented programming. You will see different types of code snippets through out these docs, if they beign with a "$"" then they are terminal commands and you do not need to copy the $ into the terminal.

Setting up Our App

The first thing that we want to do is create our Phoenix app. We do this with the following command and we'll pass in "slackir" as the name of our app.

$ mix phoenix.new slackir

The next step is to move into our newly created application. To do that run the following command to change the directory.

$ cd slackir

Now we can install our applications dependencies by running

$ npm install

and we can create our database by running

$ mix ecto.create

To start the server you will need to run

$ mix phoenix.server

and go to http://127.0.0.1:4000 to view your new application!