cách chạy forumweb
cd forumweb
pip install virtualenv
virtualenv env
sau khi đã cài virtualenv, sau này chỉ cần chạy lại từ dòng này
env\scripts\activate
không cần chạy lại dòng này từ lần thứ 2
pip install -r requirements.txt
run server :
python manage.py runserver
server : http://127.0.0.1:8000/ admin site : http://127.0.0.1:8000/admin/ admin account :
admin
password :
lmaolmao
front-end : static, templates
choose function to do :
when picking a function to do, add "your-name is working on" after the function, EX "search : lmao is working on"
expected function
search : ✅
edit post : ✅
hide comment, reply area : ✅
edit comment, reply : ✅
view user info : ✅
edit user info : ✅
view user in post, comment, reply : ✅
show tag in post : ✅
upvote, downvote : user can upvote and downvote, but cant cancel it, here some document for upvote, downvote: https://simpleisbetterthancomplex.com/tutorial/2016/10/13/how-to-use-generic-relations.html
posts with tag list : ✅
keep scroll position after voting : ✅
post with picture : ✅
change language : guide : https://djangowaves.com/tutorial/multiple-languages-in-Django/
following the post :
online/ offline status :
notification for new comment in following post : Kiệt is working
notification when someone reply your comment : Kiệt is working
notification on new reply in comment that you replied : Kiệt is working
role :
report post, category, bug :
(optional) show current popular posts :
user point for ranking :
advanced function
use chatgpt to correct the user post, comment, reply :
bot answer user post :
click on IT keyword in post, comment, reply to see meaning of it :
user can save words that easy to forget :
click on the word to hear it :
provide grammar check, listening :
alert in post when uploading if grammar is wrong :
alert in comment when uploading if grammar is wrong :
expected functions:
connect word game
dictionary
report
words collection
check your grammar
typing practise (1k words, 5k words, 10k words, ...)
Finished Functions:
create account
signin, signout
edit user info
create post
tag posts list
upvote, downvote for post
comment on post
reply on comment
edit, delete : post, comment, reply
categories
translate word from eng > vi ,vi > eng
searching engine (tag, user, post)