Skip to content

rightcode/python-firestore

Repository files navigation

Responder+Firebaseで作るブログシステム

python firestore responder license

本プロジェクトは連載「Responder+Firestoreで作るブログシステム」で作成されたものです.

このコードをもとに改変した使用は,MITライセンスに基づき自由です。

Setting

詳しくは記事を参照してください。 最低限必要なのは,/private ディレクトリに以下のファイルを配置するだけです.

  • keys.json
  • apikey.txt

これらは,Google Firestoreのコンソールから取得可能です.

また,ドメインを取得済みであればsitemap_generator.pyのDOMAINを変更してください.

DOMAIN = 'https://sample.com'  # 8行目: ここを変更

管理者ユーザの追加

$ python auth.py
email: hogehoge@sample.com
password: 
Display Name: rightcode

Success!

Result:
{'kind': ... 

サンプルデータの追加

$ python models.py

Run Blog system

$ python run.py

開発

株式会社ライトコード ー WEB・モバイル・ゲーム開発に強い会社

LICENSE

Copyright (c) 2020 RightCode Inc.
Released under the MIT license
LICENSE.txt

About

Python Responder+Firestoreでモダンでサーバーレスなブログシステムを作ってみる

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published