Git Product home page Git Product logo

blogger's Introduction

Blogger

Blogger is a basic blogging application which includes user to create account and post their views.

Tech Stack

  • Frontend: HTML/CSS
  • Backend: Django

Quick Start :

  • Fork it :

Get your own Fork/Copy of repository by clicking Fork button right upper corner.

  • Clone:
$ git clone https://github.com/harsh-9in/Blogger.git
$ cd Blogger/mysite
  • Branching
$ git checkout -b [your_branch_name]
  • Make Changes in Source Code

Setting up Project

  • Create a Virtual Environment
python3 -m venv env
  • Activate the Virtual Environment

    • On Windows
      env\Scripts\activate
      
    • On Linux or MAC
      source env/bin/activate
      
  • Install dependencies using

pip install -r requirements.txt
  • Make migrations using
python manage.py makemigrations
  • Migrate Database
python manage.py migrate
  • Create a superuser
python manage.py createsuperuser
  • Run server using
python manage.py runserver
  • Stage your Changes and Commit
# For adding/Staging Changes

$ git add .


# For Commiting Changes

$ git commit -m "<your commit message>"

  • Push your Commit to Repo
$ git push origin <branch_name>

Contribution Guidelines

  • Take a look at existing issues or create your own issues.
  • Claim the issue in the comment section.
  • Wait for the issue to be assigned to you after which you can start working on it.
  • Create a seperate Branch for every issue you are working on.
  • Refer to the issue that a PR solves, so that a PR can be related to an issue.
  • Create PR to specified Branch which will be promptly reviewed and suggestions would be added for improving it.
  • Add proper commit messages and documentation to your code.
  • Add screenshots of your implementation to help better understand the features you have implemented (must for design related PR).
  • To keep youself Merge Conflict-free
# Configuring a remote for a fork
$ git remote -v
> origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)

$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git 
> origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
> upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
> upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)


# to sync fork with original repository

$ git fetch upstream
> From https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY
>  * [new branch]      master     -> upstream/master

$ git checkout master
> Switched to branch 'master'

$ git merge upstream/master

  • If you are making multiple commits, make sure to squash the commits amd make a PR.
  • Don't override "First Come, First Serve". If someone has claimed that issue, please don't ask yourself to be assigned the same.

Open Source Programs

  • Contributor's Hack 2020

Contributor's Hack 2020 is a program that helps students grow with ""OPEN SOURCE"". This initiative by HakinCodes provides you the best platform to improve your skills and abilities by contributing to vast variety of OPEN SOURCE Projects and opportunity to interact with the mentors and the Organizing Team.

HakinCodes Logo

blogger's People

Contributors

adityaashvin avatar akshi149 avatar diyajaiswal11 avatar harsh7in avatar itsarjun12 avatar jivthesh avatar kajol-kumari avatar manishshah120 avatar neha07kumari avatar nooras avatar raksha009 avatar ritiksoni00 avatar shraddhavp avatar swapniltripathi123 avatar swarnimashukla avatar ymaheshwari1 avatar

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.