Social network.
PythonAnyWhere <- current working version
- Signup and login.
- Create Post.
- Create Comment for Post.
- View Posts and comments of other Users.
- Become follower of other user.
- Users have personal cabinet where can change email, name, photo.
- Post have counter of views.
- Post have likes.
- New design of pages.
- 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.
- Python 3.9
- Django 2.2
Python 3.7-3.9
Clone repository
git clone [email protected]: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
Index page
https://127.0.0.1:8000/
Page of post
https://127.0.0.1:8000/posts/1/
Create post
https://127.0.0.1:8000/create/
Page of User
https://127.0.0.1:8000/profile/user_name/
Page of group
https://127.0.0.1:8000/group/group_slug/
Page of follows
https://127.0.0.1:8000/follow/
Page of personal account of User
https://127.0.0.1:8000/account/