links: [[]]
---
# Getting started with Phoenix
## Basic Terminology
- Install elixir from brew `brew install elixir`, this will also install erlang too
- **Mix** is a build tool that provides tasks for creating, compiling and testing elixir projects
- **Hex** is a package manager for erlang and elixir. To install or update use `mix local.hex`
- **Dependencies** are defined as `{:package, version}`
## Getting Started
- Use `mix phx.new <app-name>` to generate phoenix application
- Now Configure your database based on your postgres creds by using `mix ecto.create`
- Start the server with `mix phx.server`
## Directory Structure
-