-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sh
executable file
·28 lines (24 loc) · 868 Bytes
/
env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/go/bin:$PATH
export PATH=/home/isucon/.local/ruby/bin:$PATH
export PATH=/home/isucon/.local/node/bin:$PATH
export PATH=/home/isucon/.local/python/bin:$PATH
export PATH=/home/isucon/.local/perl/bin:$PATH
export PATH=/home/isucon/.local/php/bin:$PATH
export PATH=/home/isucon/.local/php/sbin:$PATH
export GOPATH=/home/isucon/gocode
[ ! -d $GOPATH/src ] && mkdir -p $GOPATH/src
# export RBENV_ROOT="/usr/local/rbenv"
# export PATH="${RBENV_ROOT}/bin:${PATH}"
# eval "$(rbenv init -)"
export ISU4_SESSION_SECRET=27a4909d7cc3da7a5a07a925fbbb4d4e2b44db5b
export ISU4_USER_LOCK_THRESHOLD=3
export ISU4_IP_BAN_THRESHOLD=10
export ISU4_DB_HOST=localhost
export ISU4_DB_PORT=3306
export ISU4_DB_USER=isucon
export ISU4_DB_PASSWORD=isucon
export ISU4_DB_NAME=isu4_qualifier
export RACK_ENV=production
exec $*