CodeForPhilly / CodeForPhilly/third-places

Add a block to the update script to create default superuser

オープン
#45 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
django docker documentation
主要言語
Python
スター
8
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

# Overview

Add a block of code that execs into the django container and creates a superuser for development. A [django superuser](https://docs.djangoproject.com/en/1.8/intro/tutorial02/) is a user that can view and edit objects and pages in the django admin. This account will be built with the application update and allow devs to see the backend data and manipulate it.

This user should only be created in the development build, not production
This user should have a generic username, fake email, and password and these attributes should be added to the setup instructions

# Context

Blocked by #5

# Suggested solution (optional)

[Superuser and admin tutorial](https://docs.djangoproject.com/en/1.8/intro/tutorial02/)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まずブロックされている issue #5 を確認し、次に update script と、それを実行する development-build path を特定します。Django container がどのように起動されるかを確認し、開発時のみの default account の動作を追加し、記載された credentials で setup instructions を更新します。production で account が作成されず、developers が Django admin を使用できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
django, python
領域
backend, devops, documentation
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。