Skip to content
/ babel Public

A project to explain Elixir/Phoenix concepts of Concurrency, Channel, OTP, etc.

Notifications You must be signed in to change notification settings

jhsbeat/babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babel


A project to explain Elixir/Phoenix concepts of Concurrency, Channel, OTP, etc.

Elixir/Phoenix의 동시성과 채널, OTP 이해를 위한 동시번역 채팅 애플리케이션 프로젝트


Demo

Babel Demo


Installation

Install Elixir if you don't have:

  • Run brew install elixir for Mac users

Configuration

  • apps/babel/config/dev.secret.exs
use Mix.Config

# Configure your database
config :babel, Babel.Repo,
  username: "your_username",
  password: "your_password",
  database: "babel_dev",
  hostname: "localhost",
  pool_size: 10
  • apps/trans/config/dev.secret.exs
use Mix.Config

config :trans, :papago_nmt, client_id: "your_client_id"
config :trans, :papago_nmt, client_secret: "your_client_secret"

Run

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mkdir -p ./priv/repo/migrations && mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd apps/babel/assets && npm install
  • Start Phoenix endpoint with cd ../../../ && mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

A project to explain Elixir/Phoenix concepts of Concurrency, Channel, OTP, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published