Skip to content

lexhouk/goit-pyweb-hw-10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotes

Development

$ git clone https://github.com/lexhouk/goit-pyweb-hw-10.git
$ cd goit-pyweb-hw-10
$ 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-10.git
$ cd goit-pyweb-hw-10
$ 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.