Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgpat/isucon-boilerplate
https://github.com/bgpat/isucon-boilerplate
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bgpat/isucon-boilerplate
- Owner: bgpat
- License: mit
- Created: 2017-11-14T02:51:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:25:50.000Z (about 1 year ago)
- Last Synced: 2024-10-14T19:23:58.448Z (2 months ago)
- Language: Makefile
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# isucon-boilerplate
## usage
### initialize
#### from local PC
**create a new repository**
Create a new repository from https://github.com/bgpat/isucon-boilerplate/generate.
**add members**
Invite your team members from https://github.com/$GITHUB_REPOSITORY/settings/access.
After them have confirmed, run [Update SSH Keys](https://github.com/$GITHUB_REPOSITORY/actions?query=workflow%3A%22Update+SSH+Keys%22).#### in each competition server
Run following commands by `root` user.
**generate and register ssh deploy key**
```bash
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub
```Copy the result and register as a [deploy key](https://github.com/$GITHUB_REPOSITORY/settings/keys/new).
**install**
```bash
cd /
git init
git remote add origin [email protected]:$GITHUB_REPOSITORY.git
git fetch origin master
git reset --hard FETCH_HEAD
make
```Add deploy key and run `git push -u origin master`.
### run monitoring servers
```bash
make monitoring
```Access to 3999 port from your browser.
### edit config file
```bash
vim /etc/nginx/nginx.conf
```### track source files by git
```bash
git add -f *.go
```