https://github.com/blobmon/simplechan
上のサイトの最後の部分の
Finally, rename appconfig_template.cfg to appconfig.cfg and update proper UPLOAD_PATH, DB_NAME, DB_ROLE, and hash values as required.
の部分でappconfig.cfgに名前変更したのですが、updateの意味が分かりません。スレッドを作ろうとするとエラーが出てきます。appconfigの設定をすればいいのですがどう設定すればいいのかわかりません。
appconfigの中身
#Max content length is 5 MB MAX_CONTENT_LENGTH=5*1024*1024 #specific to machine UPLOAD_FOLDER='/root/simplechan/app/app/static/images/' #change the below values with something unique. keep the {} part somewhere thou$ IP_HASH_STR='iphash{}iphash' TRIP_HASH_STR = 'triphash{}triphash' #database name and role you created in postgres DB_NAME='simplech_db' DB_ROLE='simplech_role' #for moderator SECRET_KEY='secretkeysecretkeysecretkey'
おそらく
#change the below values with something unique. keep the {} part somewhere thou$ IP_HASH_STR='iphash{}iphash' TRIP_HASH_STR = 'triphash{}triphash'
の部分だと思うのですが、個々の意味が分からなくて編集方法がわかりません。
あなたの回答
tips
プレビュー