Project to practice with Django and Bootstrap frameworks. This web app is a forum site with the following main features:
- Forum layout: sections, discussions and posts
- User registration and authentication
- Pagination of contents
- Search bar
- 100% responsive
The site is organized into macro threads called "sections". Staff users can create and delete sections. For each section, users can start new thread or join existing ones. Each user can delete their own posts. Through the search bar you can search for keywords in discussions, posts and users data. Users can register or log in if they have previously registered. There is a password reset system with identity verification via email.
Live demo: Agorà forum (Temporarily not available)
Udemy course: Guida Pratica e Completa a Django, Python e Bootstrap
- SQLite - Storage and web-app structure
$ pip3.9 install --user pythonanywhere
$ pa_autoconfigure_django.py --python=3.9 https://github.com/pogginicolo98/agora-forum.git --branch=master
$ source .virtualenvs/pogginicolo98.pythonanywhere.com/bin/activate
$ pip install pillow
$ pip install django-crispy-forms
First of all populate USER.pythonanywhere.com/setup/password_empty.py
with your keys.
(USER.pythonanywhere.com) USER.pythonanywhere.com$ mv setup/password_empty.py social_site/password.py
(USER.pythonanywhere.com) USER.pythonanywhere.com$ python manage.py makemigrations
(USER.pythonanywhere.com) USER.pythonanywhere.com$ python manage.py migrate
(USER.pythonanywhere.com) USER.pythonanywhere.com$ python manage.py test
(USER.pythonanywhere.com) USER.pythonanywhere.com$ python manage.py collectstatic
Reload the Web app so it should work properly.