Giter Site home page Giter Site logo

django-social-network's Introduction

Django Social Network

A Django 4.0 -based open source social network application.

Badges

MIT License GitHub issues Forks Starts Tweet

Features

  • Login/Register as a user.
  • Create posts and comment on the particular post.
  • Receive notification when someone comment on your post.
  • Send friend request and accept request.
  • Live chat with friends.

Installation

  1. Clone or download this repository and open it in your editor of choice:
git clone https://github.com/manjurulhoque/django-social-network.git
  1. cd into project repository.
 cd django-social-network
  1. To get this project up and running you should start by having Python installed on your computer. It's advised you create a virtual environment to store your projects dependencies separately. You can install virtualenv with
sudo apt install python3-venv
  1. Within the directory run the following command to create your new virtual environment:
python3 -m venv my-project-env

The command above creates a directory called my-project-env, which contains a copy of the Python binary, the Pip package manager, the standard Python library and other supporting files.

  1. To start using this virtual environment, you need to activate it by running the activate script:
source my-project-env/bin/activate.

Once activated, the virtual environment’s bin directory will be added at the beginning of the $PATH variable. Also your shell’s prompt will change and it will show the name of the virtual environment you’re currently using. In our case that is

(my-project-env) $

Now that the virtual environment is activated, we can start installing, upgrading, and removing packages using pip.

  1. The first step is to install the module,using the Python package manager, pip:
pip -r install requirements.txt

Modify django-social-network/setting.py with database settings if you want to connect database other than default sqlite db.

  1. Run the following commands in the root folder.
python manage.py makemigrations
python manage.py migrate
  1. Also create a superuser by :
python manage.py createsuperuser
  1. To get start runserver localy by:
python manage.py runserver

Open up a browser and visit: http://127.0.0.1:8000/ , then you will see the application.

Screenshots

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Support

Show your support by 🌟 the project!!

django-social-network's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-social-network's Issues

Adding unit test.

I can add unit tests for user app if you assign this issue to me.
ps: add hacktoberfest label if possible.

how to use it?

I am a newbie of Django. Could you provide some installation instructions? thanks

About the packages version

I would like to see a "requirements.txt" with the appropriate package version.
Make it work with django2.x (issue#2)

Also, if there is a way to use it with django 3.x, please let me know.

DeepL : ja→en

Installation error

Hi and thanks for the great work!
After successfully installing the requirements.txt, I encountered this error while running "python manage.py makemigrations":

AttributeError: module 'asyncio.coroutines' has no attribute '_is_coroutine'

What can be wrong?

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.