Skip to content

amitlus/My-First-Coding-Project-Django-Posts-Blog

Repository files navigation

Django-Project-Posts-Blog

My first coding project- coded 2 years ago (in 2020) before starting Computer Science degree in the University.
I learned everything by my own online.

Coded using Python and Django Framework, basic HTML & CSS and one method of JavaScript (wanted to try adding JS to the project). As I said, I learn all from zero in few months, so the code is quite basic and not professional.

During this project I realized that I want to be a programmer, and then I signed-up to my CS degree.

What inside?

First- Register

First- register

Now- Let's Login
login

Homepage
Homepage

Let's make a new post

New post page

Now our post published

Post published

Let's see our posts page

Post page

Let's look on the top viewd posts:

Top posts page

Let's comment to a post:
Comment

Comment posted!

Comment posted

A cool feature- Our Explore- (random posts page)- That way you can see different posts from different users!

Explore page

You can use our Search bar to find posts including specific words:
Search

UPDATE:
On the first day of 2022 I checked if it runs, and had to change "load staticfiles" to "load static" in Templates/index.html following Django new version.

For me: (When I'll try to run it again in 2 years haha)

  1. Download a clone of the project
  2. Open in the IDE (PyCharm or else)
  3. In the Terminal type:
  4. python -m pip install -U pip // (Install pip)
  5. pip install virtualenv // (Install virtual environment)
  6. virtualenv nameOfEnvIWant // (Set Virtual environment)
  7. cd nameOfEnvIWant
  8. cd Scripts
  9. activate
  10. pip install django // (If not installed already)
  11. cd ..
  12. python manage.py runserver // (In the project directory where manage.py live

About

Had trouble with the previous one.. branches split

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages