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

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.