Skip to content

Simple Phoenix/Elixir chat application developed live during a Meetup at Elixir Asturias

Notifications You must be signed in to change notification settings

martamedio/Phoenix-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir & Phoenix Chat Example

Developed live during a Meetup of Elixir Asturias

Getting Started

Prerequisities
  1. Elixir on your machine:

  2. Phoenix framework installed: mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez

  3. PostgreSQL (Database Server) installed (to save messages):

Running it!

  • Install dependencies with mix deps.get
  • Check Postgres credentials at config directory, create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

You can visit localhost:4000 from your browser and open the Chat web. It is recommended open the app in two separate browser windows to try it (if your machine only has one browser try using an "incognito" tab).

About

Simple Phoenix/Elixir chat application developed live during a Meetup at Elixir Asturias

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published