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

docs(pages): update Japanese translation of env-variables.mdx #1458

Merged
merged 62 commits into from
Jun 23, 2023
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7263887
start Japanese translation
Apr 15, 2023
8e5494a
feat(pages): translate introcution.md
Apr 15, 2023
63bb352
feat(pages): first translate why.md
Apr 15, 2023
17dadcf
fix(pages): translate frontmatter in Japanese
Apr 15, 2023
6132b19
fix(pages): change left side navibar to link to Japanese
Apr 15, 2023
84eac7b
fix(pages): translate installation.mdx
Apr 15, 2023
18c10e2
fix(pages): translate folder-structure.mdx
Apr 15, 2023
b60be00
fix(pages): translate faq
Apr 16, 2023
0ca924e
fix(pages): translate t3-collection
Apr 16, 2023
d5c3a25
fix(pages): translate other-recs
Apr 16, 2023
4231060
fix(pages): translate first-step
Apr 16, 2023
dfc87ca
fix(pages): translate usage/next-js
Apr 16, 2023
cffbdb7
fix(pages): translate typescript.md
Apr 16, 2023
ff81572
fix(pages): translate tRPC
Apr 16, 2023
53718db
fix(pages): translate prisma.md
Apr 16, 2023
a228585
fix(pages): translate next-auth.md
Apr 16, 2023
11a5fc9
fix(pages): Translate env-variable.mdx
Apr 16, 2023
a4aefd1
finx(pages): Translate tailwind.md
Apr 16, 2023
43573ae
fix(pages): Translate vercel.md
Apr 17, 2023
eda3423
netlify(pages): Translate netlify.mdx
Apr 17, 2023
9030d57
pages(pages): Translate docker.md
Apr 17, 2023
eb3b262
fix(pages): performed preliminary proofreading
Apr 17, 2023
d253427
Update www/src/pages/ja/introduction.md
uehaj Apr 17, 2023
e04e1e7
fix(pages): fix and improve in review comments
Apr 18, 2023
d49fe96
fix(pages): left side menu category translated
Apr 18, 2023
d5cfe30
fix(pages): Improvement for introduction.md why.md
Apr 18, 2023
a87998f
fix(pages): improve: Installation,Folder Structure,FAQ,T3 Collection,…
Apr 19, 2023
b76f1d4
fix(pages): translate left side menu item
Apr 19, 2023
bbbd8a5
fix(pages): follow review comments and other minor fixes
Apr 20, 2023
12108a7
fix(pages): improve first-step.md
Apr 20, 2023
6210f71
fix(pages):improve next-js.md, trpc.md, typescript.md
Apr 21, 2023
59536b7
fix(pages): improve prisma.md
Apr 21, 2023
30220ad
fix(pages): next-auth.md
Apr 21, 2023
adb0581
fix(pages): improve env-variables.mdx
Apr 23, 2023
769e62d
fix(pages): improve tailwind.md
Apr 24, 2023
a5fb322
fix(pages): improve vercel.md, netlify.md, docker.md
Apr 24, 2023
6c3923d
fix(pages): improvement
Apr 24, 2023
b72ad8d
fix(pages): remove aside english and improvement.
Apr 26, 2023
964a8d2
fix(pages): final check
Apr 26, 2023
a59f3b5
docs(pages): Japanese Translation
Apr 26, 2023
796fcf6
Merge remote-tracking branch 'upstream/next' into next
Apr 26, 2023
aa3f813
docs(pages): small change
uehaj-tx Apr 27, 2023
9292d37
Merge branch 'next' into next
c-ehrlich Apr 27, 2023
af460c0
Merge branch 'next' of https://github.com/t3-oss/create-t3-app into next
uehaj-tx May 8, 2023
4727b37
docs(pages): update Japanese translation of env-variables.mdx
uehaj May 31, 2023
6f1ad1b
Merge branch 'next' into patch-1
uehaj-tx Jun 2, 2023
470bd49
Merge branch 'next' into patch-1
uehaj Jun 2, 2023
50b6ff3
fix(docs): small fix
uehaj-tx Jun 2, 2023
8ce414c
Merge branch 'patch-1' of https://github.com/uehaj/create-t3-app into…
uehaj-tx Jun 2, 2023
393400c
Merge branch 'next' into patch-1
c-ehrlich Jun 2, 2023
a3d82cb
fix(docs): remove .changelog
uehaj-tx Jun 4, 2023
e867204
Merge branch 'patch-1' of https://github.com/uehaj/create-t3-app into…
uehaj-tx Jun 4, 2023
3447c3e
Merge remote-tracking branch 'upstream/next' into next
uehaj-tx Jun 10, 2023
8d93e44
Merge branch 'next' into patch-1
uehaj-tx Jun 10, 2023
78a46a3
docs(next-auth.mdx): updated for newer en version.
uehaj-tx Jun 10, 2023
e32785b
Merge remote-tracking branch 'upstream/next' into next
uehaj-tx Jun 20, 2023
6c88b83
Merge branch 'next' of https://github.com/t3-oss/create-t3-app into next
uehaj-tx Jun 22, 2023
eda8d8d
Merge remote-tracking branch 'origin/patch-1' into next
uehaj-tx Jun 22, 2023
ecdb2ce
add .changeset files
uehaj-tx Jun 22, 2023
9145479
docs(ja/usage/env-variables.mdx): follow En version update
uehaj-tx Jun 22, 2023
74dbcf3
fix: add .changeset/
uehaj-tx Jun 22, 2023
fa69699
add .changeset
uehaj-tx Jun 22, 2023
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
Prev Previous commit
Next Next commit
fix(pages): translate first-step
  • Loading branch information
Junji UEHARA committed Apr 16, 2023
commit 42310607fc90d0f45e66fd15c74455fff4471ba2
46 changes: 43 additions & 3 deletions www/src/pages/ja/usage/first-steps.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
---
title: First Steps
description: Getting started with your new T3 App
title: はじめの一歩
description: 新しいT3アプリを使い始める
layout: ../../../layouts/docs.astro
lang: en
lang: jp
---

You just scaffolded a new T3 App and are ready to go. Here is the bare minimum to get your app working.

あなたは、新しい T3 アプリを足場にして、準備万端です。ここでは、アプリを動作させるために必要な最低限のことを説明します。

## Database

If your app includes Prisma, make sure to run `npx prisma db push` from the root directory of your app. This command will sync your Prisma schema with your database and will generate the TypeScript types for the Prisma Client based on your schema. Note that you need to [restart the TypeScript server](https://tinytip.co/tips/vscode-restart-ts/) after doing this so that it can detect the generated types.

## データベース

アプリに Prisma が含まれている場合は、アプリのルートディレクトリから`npx prisma db push`を実行することを確認してください。このコマンドを実行すると、Prisma スキーマがデータベースと同期され、スキーマに基づいて Prisma クライアント用の TypeScript 型が生成されます。なお、生成された型を検出できるようにするため、このコマンドを実行した後に [TypeScript サーバーを再起動する](https://tinytip.co/tips/vscode-restart-ts/) 必要があります。

## Authentication

If your app includes NextAuth.js, we get you started with the `DiscordProvider`. This is one of the simplest providers that NextAuth.js offers, but it still requires a bit of initial setup on your part.
Expand All @@ -29,6 +35,26 @@ Of course, if you prefer to use a different auth provider, you can also use one

You should now be able to log in.

## 認証

アプリに NextAuth.js が含まれている場合、まず`DiscordProvider`から始めます。これは NextAuth.js が提供するプロバイダの中で最もシンプルなものの一つですが、初期設定が少し必要です。

もちろん、別の認証プロバイダを使いたい場合は、NextAuth.js が提供する[多数のプロバイダ](https://next-auth.js.org/providers/)を利用することも可能です。

1. Discord のアカウントが必要になりますので、まだの方は登録してください。
2. https://discord.com/developers/applications に移動し、右上の「New Application」をクリックします。アプリケーションの名前を付け、利用規約に同意してください。
3. アプリケーションの作成が完了したら、「設定 → OAuth2 → 一般」に移動してください。
4. クライアント ID」をコピーし、`DISCORD_CLIENT_ID`として`.env`に追加します。
5. Reset Secret」をクリックし、新しいシークレットをコピーし、`DISCORD_CLIENT_SECRET`として`.env`に追加します。
6. Add Redirect "をクリックし、`https://localhost:3000/api/auth/callback/discord`と入力します。

- 本番環境でのデプロイの場合は、前の手順で別の Discord アプリケーションを作成しますが、今回は`https://localhost:3000`をデプロイ先の URL で置き換えてください。

7. 変更を保存します。
8. `.env`に`NEXTAUTH_SECRET`を設定します。開発環境ではどのような文字列でも構いませんが、本番環境では`.env`にある安全な秘密の生成に関する注意事項を参照してください。

これで、ログインできるようになります。

## Editor Setup

The following extensions are recommended for an optimal developer experience. The links below provide editor specific plugin support.
Expand All @@ -37,8 +63,22 @@ The following extensions are recommended for an optimal developer experience. Th
- [Tailwind CSS IntelliSense Extension](https://tailwindcss.com/docs/editor-setup)
- [Prettier Extension](https://prettier.io/docs/en/editors.html)

## エディターの設定

最適なデベロッパーエクスペリエンスのために、以下の拡張を推奨します。以下のリンクは、エディター固有のプラグインサポートを提供します。

- [Prisma 拡張](https://www.prisma.io/docs/guides/development-environment/editor-setup)
- [Tailwind CSS IntelliSense 拡張](https://tailwindcss.com/docs/editor-setup)
- [Prettier 拡張](https://prettier.io/docs/en/editors.html)

## Next Steps

- If your app includes tRPC, check out `src/pages/index.tsx` and `src/server/api/routers/example.ts` to see how tRPC queries work.
- Have a look around the Create T3 App docs, as well as the docs of the packages that your app includes.
- Join our [Discord](https://t3.gg/discord) and give us a star on [GitHub](https://github.com/t3-oss/create-t3-app)! :)

## 次のステップへ

- もしあなたのアプリが tRPC を含んでいるならば、`src/pages/index.tsx` と `src/server/api/routers/example.ts` をチェックして、tRPC クエリがどのように動作するかを見てください。
- Create T3 App のドキュメントや、あなたのアプリに含まれるパッケージのドキュメントを見てみてください。
- [Discord](https://t3.gg/discord)に参加し、[GitHub](https://github.com/t3-oss/create-t3-app)でスターを付けてください!:)