Skip to content

ReSTARTR/isucon5-qualify-elixir

Repository files navigation

ISUCON 5 Qualify Application written in Elixir/Phoenix.

ref: https://github.com/isucon/isucon5-qualify

NOTE

  • THIS REPOSITORY NOW IN DEVELOPMENT
  • BENCHMARK SCRIPT WILL PASS, BUT CODE IS NOT OPTIMIZED

Verification Environment

  • Ubuntu 15.04
  • Elixir: 1.1.0
  • Phoenix: 1.0.1
  • Node.js: 0.10.25
  • MySQL: 5.6.25

Setup

Requirements:

# ubuntu
sudo apt-get install erlang-dev

erlang source is required from timex

initialize repository(NOT REQUIRED)

mix phoenix.new --database mysql --app isucon5q ../isucon5-qualify-elixir

initialize app

mix deps.get
npm install
mix phoenx.server
# or
MIX_ENV=prod mix phoenix.server

run test cases

mix test --trace --cover