Giter Club home page Giter Club logo

agora-forum's Introduction

Agorà forum

Project to practice with Django and Bootstrap frameworks. This web app is a forum site with the following main features:

  1. Forum layout: sections, discussions and posts
  2. User registration and authentication
  3. Pagination of contents
  4. Search bar
  5. 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)

Frameworks and technologies used:

Frameworks

Databases

  • SQLite - Storage and web-app structure

Setup for production on pythonanywhere.com

Clone the repository and configure the virtual environment:

$ 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

Setup and test django project:

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

Edit the static files directories on pythonanywhere web tab as folowing:

Static files pythonanywhere

Reload the Web app so it should work properly.

agora-forum's People

Contributors

pogginicolo98 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

agora-forum's Issues

Last access

It may be useful to implement a function of "Last access" available in the user list and in the user profile.

Online status

It may be useful to add the online status to the user list and in the user profile.

Online chat

It would be great to add a chat between users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.