carlosevhs / bookstore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bookstore

Bookstore APP from Backend Python course from EBAC

Prerequisites

Python 3.12>
Poetry
Docker && docker-compose

Quickstart

  1. Clone this project

    git clone git@github.com:drsantos20/bookstore.git
  2. Install dependencies:

    cd bookstore
    poetry install
  3. Run local dev server:

    poetry run manage.py migrate
    poetry run python manage.py runserver
  4. Run docker dev server environment:

    docker-compose up -d --build 
    docker-compose exec web python manage.py migrate
  5. Run tests inside of docker:

    docker-compose exec web python manage.py test

About


Languages

Language:Python 80.3%Language:Makefile 13.3%Language:Dockerfile 6.3%