AutonomousVehicleControlBeginnersGuide
Python sample codes and documents about Autonomous vehicle control algorithm. This project can be used as a technical guide book to study the algorithms and the software architectures for beginners.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗シンプルな中国語単語帳 Web アプリです。
asia-northeast1 推奨)Firebase Console の Authentication → ユーザー → ユーザーを追加 からメールアドレスとパスワードを登録してください。
app.js の先頭にある firebaseConfig をご自身の Firebase プロジェクトの設定値に書き換えてください。
Firebase の API キーについて Firebase の API キーは、一般的な API キーとは異なり、公開しても問題ない設計になっています。 これは Firebase プロジェクトを「識別する」ためのものであり、「認証する」ためのものではありません。 データへのアクセス制御は Firestore のセキュリティルールで行うため、API キーが第三者に知られても、不正なデータ操作はセキュリティルールによって防がれます。 詳細は Firebase 公式ドキュメント をご参照ください。
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT_ID.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT_ID.firebasestorage.app",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID"
};
firestore.rules の uid をご自身のユーザーの uid(Authentication → ユーザー で確認できます)に書き換え、デプロイしてください:
firebase deploy --only firestore:rules
単語一覧は誰でも閲覧でき、書き込みはその uid のユーザーだけに制限されます。
また、第三者が勝手にアカウントを作れないよう、Authentication → 設定 → ユーザー アクション で「作成(登録)を有効にする」をオフにしておくことをおすすめします。
python3 -m http.server 8080
ブラウザで http://localhost:8080 を開く。
npm install -g firebase-tools
firebase login
firebase init hosting
firebase deploy --only hosting
MIT