Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

lexhouk/goit-pyweb-hw-13-task-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotes

Development

$ git clone https://github.com/lexhouk/goit-pyweb-hw-13-task-2.git
$ cd goit-pyweb-hw-13-task-2
$ docker compose up -d
$ django-admin startproject fpq
$ cd fpq
$ python manage.py startapp fpq_core
$ python manage.py startapp fpq_user
$ python manage.py startapp fpq_author
$ python manage.py startapp fpq_quote
$ python manage.py startapp fpq_tag
$ python manage.py startapp fpq_scraper
$ python manage.py makemigrations

Deployment

$ git clone https://github.com/lexhouk/goit-pyweb-hw-13-task-2.git
$ cd goit-pyweb-hw-13-task-2
$ docker compose up -d
$ poetry install
$ cd fpq
$ python manage.py migrate
$ python -m utils.migration
$ python manage.py createsuperuser

Usage

$ docker compose up -d
$ poetry shell
$ cd fpq
$ python manage.py runserver

Go to http://localhost:8000.