Skip to content

KuzenkovAG/yatube_new_feature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yatube v.1.0.0 New Features

Social network.

Deployed on server

PythonAnyWhere <- current working version

Features

  • Signup and login.
  • Create Post.
  • Create Comment for Post.
  • View Posts and comments of other Users.
  • Become follower of other user.

New features

  • Users have personal cabinet where can change email, name, photo.
  • Post have counter of views.
  • Post have likes.
  • New design of pages.

History of Yatube project

  • v.1.0.0 New Features <- You are here
  • v.0.4.0 Final - Add ability to follow users. Add comments to posts.
  • v.0.3.0 UnitTest - Create tests.
  • v.0.2.0 Forms - Add ability to create new posts. Add auth of User.
  • v.0.1.0 Community - Ability to view posts.

Tech

  • Python 3.9
  • Django 2.2

Tested Python version

Python 3.7-3.9

Installation (for Windows)

Clone repository

git clone git@github.com:KuzenkovAG/yatube_new_feature.git

Install environment

cd yatube_new_feature/
py -3.9 -m venv venv

Activate environment

source venv/Scripts/activate

Install requirements

pip install -r requirements.txt

Create .env

touch yatube/yatube/.env

Open .env and save secret key

nano yatube/yatube/.env
DJANGO_SECRET_KEY = 'as!b)khi$*#wm!!&@=+^vzve^u&9o%0fsxn7fkfu$1x-)2on^h'

Make migrate

python yatube/manage.py migrate

Run server

python yatube/manage.py runserver

Usage

Index page

http://127.0.0.1:8000/

Page of post

http://127.0.0.1:8000/posts/1/

Create post

http://127.0.0.1:8000/create/

Page of User

http://127.0.0.1:8000/profile/user_name/

Page of group

http://127.0.0.1:8000/group/group_slug/

Page of follows

http://127.0.0.1:8000/follow/

Page of personal account of User

http://127.0.0.1:8000/account/

Author

Alexey Kuzenkov