Skip to content

alisher-nil/foodgram

Repository files navigation

Foodgram

Description

A social service to store and share recipes.

Build Status

Foodgram Deploy Workflow

Table of Contents

Prerequisites

Docker

Installation

To install and set up the project, follow these steps:

  1. Clone the repository:
    git clone https://github.com/alisher-nil/foodgram.git
  2. Navigate to the infra directory:
    cd infra
  3. Create .env file, example provided in /infra directory
  4. Build and run from local files:
    docker compose up --build -d
  5. Apply database migrations:
    docker compose exec backend python manage.py migrate
    
  6. Load premade data
    docker compose exec backend python manage.py load_ingredients ingredients.json
    docker compose exec backend python manage.py load_tags tags.json
    
  7. Open your web browser and visit http://localhost/ to access the application.

API

api schema is available at /api/docs/ once the project is runnning

Contact

Please feel free to contact me with any questions or feedback:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors