https://github.com/traptitech/emoine
https://github.com/traptitech/emoine
hacktoberfest
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/traptitech/emoine
- Owner: traPtitech
- License: mit
- Created: 2020-07-13T10:39:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T23:27:06.000Z (over 3 years ago)
- Last Synced: 2025-04-09T21:51:05.920Z (about 1 year ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 2.07 MB
- Stars: 1
- Watchers: 12
- Forks: 2
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emoine
## 開発環境
golang 1.17
node 16
download https://github.com/protocolbuffers/protobuf/releases
```shell
$ go install google.golang.org/protobuf/cmd/protoc-gen-go
```
初回のみ必要
```shell
$ make proto
$ cd client
$ npm i
```
起動
```shell
$ make up
$ cd client
$ npm run dev
```
http://localhost:3000/ にアクセス
初回アクセス時はtraQにリダイレクトされるのでOAuth認証を承認し、その後リダイレクトされたページのURLの`https://emoine20.trap.jp`部分を`http://localhost:3000`に変更
終了
```shell
$ make down
```
### 開発環境のadmin権限
[docker-compose.yml の14行目](https://github.com/traPtitech/Emoine/blob/7e1dd81f28802efd9fc68e7931f3f62ce31310cf/docker-compose.yml#L14)にtraQのUUIDを追記することで、開発環境のadminに追加できる