Skip to content

PhotoShare-IO/Photo-Django

Repository files navigation

PhotoShare [Backend ⚙️]


Table of Content

Installing Python 3.11 via pyenv 🐍

Firstly, install pyenv to your machine. Visit official page and follow the instalation instructions.

Installing Python version 3.11

pyenv install 3.11

Create Virtual Environment

pyenv virtualenv 3.11 photo-django

Activate Virtual Environment

pyenv activate photo-django

Install Poetry

In activated photo-django virtual environment install poetry.

pip install poetry

Installing packages

For installing all packages (includes dev dependencies)

make install-all-packages

Installing packages for development

make install-packges

Managing Django

Run Server

make run-server

Apply Migrations

make make-migrations

Create New Migrations

python manage.py makemigrations

Create Admin

make create-admin

About

The clone of Pinterest

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages