Skip to content

t-takeya/ishinomaki-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ライブラリをインストールする

pip install -r requirements.txt

-- ※開発時 現在のライブラリの状態でrequirementsを書き出す
pip freeze > requirements.txt

migrate

サーバにデプロイするときは makemigrations は基本的に必要ない

python manage.py migrate

-- ※開発時 デプロイするときは必要ない
python manage.py makemigrations llm_chat

fixture

loaddata するにあたっての注意事項

  • createsuperuser を実行してください
    • 1 のidを作らないと失敗するfixtureがある(vietnam_research)
  • auth_user の seeder はそれぞれのアプリごとにわけて作ってある
  • auth_user の初期パスワードは test#1234

各種 loaddata コマンド

-- サーバで実行するときはバッククォートを `/` に置換する
python manage.py loaddata .\llm_chat\fixtures\user.json

サーバを動かす

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •