Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup and Remove unused files #29

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ outputs/*
temp/*
data/*

frontend/node_modules
frontend/.next
frontend/out
frontend/next-env.d.ts

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
tars-server:
build:
context: .
dockerfile: Dockerfile.development
dockerfile: dev.Dockerfile
restart: unless-stopped
volumes:
- ./backend/src/:/app/src
Expand Down
12 changes: 0 additions & 12 deletions frontend/.dockerignore

This file was deleted.

37 changes: 0 additions & 37 deletions frontend/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions frontend/Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions frontend/LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions frontend/docker-compose.yml

This file was deleted.

17 changes: 12 additions & 5 deletions frontend/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,19 @@ export default function Home() {
<button
className='my-5 rounded-2xl border-2 border-blue-400 px-4 py-1.5'
onClick={() => {
startRecording(endpoint, recordingInputRef.current?.value as string).then(() => setRefresh(previous => !previous))
startRecording(endpoint, recordingInputRef.current?.value as string).then(() =>
setRefresh(previous => !previous)
)
}}
>
開始
</button>
<button
className='my-5 rounded-2xl border-2 border-red-400 px-4 py-1.5'
onClick={() => {
stopRecording(endpoint, recordingInputRef.current?.value as string).then(() => setRefresh(previous => !previous))
stopRecording(endpoint, recordingInputRef.current?.value as string).then(() =>
setRefresh(previous => !previous)
)
}}
>
終了
Expand Down Expand Up @@ -185,16 +189,19 @@ export default function Home() {
<button
className='my-5 rounded-2xl border-2 border-blue-400 px-4 py-1.5'
onClick={() => {
addUser(endpoint, userInputRef.current?.value as string).then(() => setRefresh(previous => !previous))

addUser(endpoint, userInputRef.current?.value as string).then(() =>
setRefresh(previous => !previous)
)
}}
>
追加
</button>
<button
className='my-5 rounded-2xl border-2 border-red-400 px-4 py-1.5'
onClick={() => {
removeUser(endpoint, userInputRef.current?.value as string).then(() => setRefresh(previous => !previous))
removeUser(endpoint, userInputRef.current?.value as string).then(() =>
setRefresh(previous => !previous)
)
}}
>
削除
Expand Down