7K12 blog

猫でも分かる何か

2022-06-01から1ヶ月間の記事一覧

django 5-14 本棚アプリケーション2

プロジェクト URL https://github.com/tkr987/bookproject5/ トップ画面の作成 from django.shortcuts import render (略) def index_view(request): object_list = Book.objects.order_by('category') return render(request, 'book/index.html', {'objec…

django 4-13 本棚アプリケーション1

初回操作 $ mkdir test $ cd test $ python3 -m venv venv $ source venv/bin/activate $ pip install django==3.2なお次から開発するときも毎回 $ source venv/bin/activate だけはコマンドする必要がある from django.contrib import admin from django.ur…

django 3-10 アプリケーション作成

初回操作 $ mkdir test $ cd test $ python3 -m venv venv $ source venv/bin/activate $ pip install django==3.2上記は仮想環境の構築とDjangoのインストールコマンド なお、次から開発するときも毎回 $ source venv/bin/activate だけはコマンドする必要…

web71 firebase デプロイ

参考 https://www.flutter-study.dev/host-web-app/hosting https://qiita.com/fukusin/items/c5f5592b50101dfaea25特に2個目の記事が参考になる たぶん順番が大事で手順前後すると失敗するhttps://web72b.web.app/#/

web54最新 Cloud Firestore

project url https://github.com/tkr987/web54 参考 https://www.flutter-study.dev/firebase/cloud-firestore-try https://zenn.dev/maropook/articles/f82c98a56b14ca https://note.com/hatchoutschool/n/na654d6dc5a53pubspec.yaml dependencies: flutter…

web54改 Cloud Firestore

参考 https://www.flutter-study.dev/firebase/cloud-firestore-try https://zenn.dev/maropook/articles/f82c98a56b14ca https://note.com/hatchoutschool/n/na654d6dc5a53pubspec.yaml dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.2 fireb…

web54 Cloud Firestore

参考 https://www.flutter-study.dev/firebase/cloud-firestore-trypubspec.yaml dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.2 firebase_core: ^1.0.1 cloud_firestore: ^3.1.13 cloud_firestore_web: ^2.6.13dependenciesに firebase_core…

web52 Authentication概要

開発環境 windows10, vscode 参考 https://www.flutter-study.dev/firebase/authentication https://zenn.dev/maropook/articles/f82c98a56b14ca 試したこと エラー"FirebaseOptions cannot be null when creating the default app." の対処 Firebase.initia…

web43 todo list 追加画面

debugShowCheckedModeBanner: false デバッグモードでは指定しないとバナー非表示にできない(リリースモードではデフォルトで非表示) home: TodoListPage() StetelessWidget に StetefulWidget を載せる import 'package:flutter/material.dart'; void mai…

web31 テキスト表示

const MyApp({Key? key}) : super(key: key); おまじない constなクラスにはconstをつけるとワーニングが消える import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({Key? …

flutter + vscode

chrome で実行 https://www.flutter-study.dev/introduction/about-flutter Bad UTF-8 encoding 対処法 https://zenn.dev/kakimoty/articles/2b480c6f97fb88 flutter build windows Building with sound null safety Bad UTF-8 encoding (U+FFFD; REPLACEMEN…