A project to explain Elixir/Phoenix concepts of Concurrency, Channel, OTP, etc.
Elixir/Phoenix의 동시성과 채널, OTP 이해를 위한 동시번역 채팅 애플리케이션 프로젝트
Install Elixir if you don't have:
- Run
brew install elixir
for Mac users
- 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"
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.
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix