Giter VIP home page Giter VIP logo

babel's Introduction

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

babel's People

Contributors

dependabot[bot] avatar jhsbeat avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.