Skip to content

Rhythm1821/TweeterSphere

Repository files navigation

TweeterSphere

Project is Live - here

Description

TweeterSphere is a social media platform inspired by Twitter.
The project was made using a popular python web framework known as Django.

Features

  • Complete User Authentication
  • Create, Like, and Update Posts
  • Follow Other Profiles
  • Update Profile Information
  • Add Profile Image

Technologies Used

  • Django: Backend web framework for building the application's structure and handling user authentication.
  • HTML/Bootstrap: Frontend technologies for building the user interface and interactivity.
  • SQLite (For local development): Database management system for storing user data and chat information.
  • Supabase (For deployment): Cloud-based database management system for storing user data and chat information.
  • Docker (For deployment): Containerization and deployment tool for running the application in production.

Getting Started

To get started with TweeterSphere, follow the instructions below:

Installation

  1. Clone the repository:
git clone https://github.com/Rhythm1821/TweeterSphere
  1. Navigate to the project directory:
cd TweeterSphere
  1. Create a virtual environment:
python3 -m venv venv
  1. Activate the virtual environment:
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

Database Setup

  1. Run database migrations:
python3 manage.py migrate

Running the Server

  1. Start the development server:
python3 manage.py runserver

You can now access TweeterSphere at http://127.0.0.1:8000/ in your web browser.

Installation (with docker and MySQL as the database)

Add your credentials to .env file

  1. Clone the repository:
git clone https://github.com/Rhythm1821/TweeterSphere
  1. Navigate to the project directory:
cd TweeterSphere
  1. Login to MySQL server(inside the quotes your actual password should be there and same in you .env file):
 mysql -u root -p'password'

Database Setup

  1. Create new database and exit:
CREATE DATABASE tweetersphere;
EXIT;
  1. Ensure no container is running:
docker ps #(if running do "docker kill {container_id}")
  1. Uncomment this line in .env
DOCKER_COMPOSE=1

Build the container

  1. Start building the container:
docker compose up --build

You can now access TweeterSphere at http://127.0.0.1:8000/ in your web browser.

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors