dbgofy / isucon13

MIT License
0 stars 0 forks source link

isucon13

usage

initialize

from local PC

~create a new repository~ already done

Create a new repository from https://github.com/bgpat/isucon-boilerplate/generate.

add members

Invite your team members from https://github.com/dbgofy/isucon13/settings/access. After them have confirmed, run Update SSH Keys.

in each competition server

Run following commands by root user.

generate and register ssh deploy key

ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub

Copy the result and register as a deploy key.

install

cd /
git init
git remote add origin git@github.com:dbgofy/isucon13.git
git fetch origin master
git reset --hard FETCH_HEAD
make

Add deploy key and run git push -u origin master.

run monitoring servers

make monitoring

Access to 3999 port from your browser.

edit config file

vim /etc/nginx/nginx.conf

track source files by git

git add -f *.go