Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 1.73 KB

README.md

File metadata and controls

68 lines (52 loc) · 1.73 KB

Zoomedia Project Setup

This repository contains the codebase for Zoomedia, a simplified social network. Follow the steps below to set up the project locally.

Prerequisites

Make sure you have the following dependencies installed on your machine:

  • Python 3.10
  • virtualenv
  • Docker
  • Docker Compose

Installation Steps

  1. Clone the Repository and Navigate to Project Directory
git clone https://github.com/alishb80/zoomedia.git
cd zoomedia
  1. Create and Activate the Virtual Environment
virtualenv -p python3.10 venv
source venv/bin/activate
  1. Install Dependencies
pip install -r requirements_dev.txt
pip install -r requirements.txt
  1. Create the Environment File
cp .env.example .env

Make any necessary configurations in the newly created .env file.

  1. Run Database Migrations
python manage.py migrate
  1. Start the Development Server
docker-compose -f docker-compose.dev.yml up -d
python manage.py runserver
  1. Running Celery Tasks You can run Celery tasks to handle asynchronous processing in the background.
celery -A zoomedia.tasks worker -l info --without-gossip --without-mingle --without-heartbeat
celery -A zoomedia.tasks beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler

Now, you can access the Zoomedia application by visiting http://localhost:8000 in your browser.

Additional Resources

For more information and documentation, refer to the following resources:

Feel free to explore and customize the Zoomedia project to fit your needs. Happy coding!