django wagtail - 1. python가상환경 설정 및 wagtail 설치
os = centos 7
python ver = 3.8
wagtail =
sqlite = 3.8.3
1. python3 설치 및 가상환경 설정
가상환경 ex yum repo 는 python2 를 사용함 이와같이 버전 충돌을 막기 위해서 가상환경을 사용함
# yum install python3
# pip install virtualenv
# virtualenv [가상환경명]
# source [가상환경명]/bin/activate
2. wagtail 설치
$ pip install wagtail
$ wagtail start mysite
$ cd mysite
$ pip install -r requirements.txt
$ ./manage.py migrate
$ ./manage.py createsuperuser
$ ./manage.py runserver
* sqlite 버전 에러
현재 sqlite 버전 확인
$ python3
$ import sqlite3
$ sqlite3.sqlite_version
> slite3.7~~
3.8 버전으로 업데이트
# wget www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
www.sqlite.org/download.html
#tar -xzf sqlite-autoconf-3280000.tar.gz
#cd sqlite-autoconf-3280000
#./configure -prefic=/usr/local/
#make
#make install
(make 실패시 make clean 하고 재컴파일)
export PATH=$HOME/opt/sqlite/bin:$PATH
export LD_LIBRARY_PATH=$HOME/opt/sqlite/lib
export LD_RUN_PATH=$HOME/opt/sqlite/lib
[Django] Django Tutorial - Django 설치하기
[ Django 설치 전 가상환경 실행 ] 이전 포스팅에서 설치 및 설정한 Python Virtualenv에서 Django 설치 진행 #workon [ 가상환경 이름 ] $ workon env_django [ Django 설치 ] Django 최신 버전 설치 $ pip inst..
ossian.tistory.com
# ./manage.py migrate
# ./mannage.py createsuperuser
# ./manage.py runserver 0:8080
$ ./manage.py migrate
가상머신에 django-wagtail 을 올릴경우 실행시
setting.py -> ALLOWED_HOST=['*'] 추가
$./manage.py runserver 0:8000 &

wagtail/wagtail
A Django content management system focused on flexibility and user experience - wagtail/wagtail
github.com
wagtail/wagtail
A Django content management system focused on flexibility and user experience - wagtail/wagtail
github.com
wagtail/wagtail
A Django content management system focused on flexibility and user experience - wagtail/wagtail
github.com
Django Content Management System | Wagtail CMS
Meet Wagtail, an open-source Django content management system built by Torchbox. It's free, beautiful, versatile and fast. Find out how to get started.
wagtail.io
docs.wagtail.io/en/v2.0/getting_started/tutorial.html
Your first Wagtail site — Wagtail 2.0 documentation
We are now ready to create a blog. To do so, run python manage.py startapp blog to create a new app in your Wagtail site. Add the new blog app to INSTALLED_APPS in mysite/settings/base.py. Blog Index and Posts Lets start with a simple index page for our bl
docs.wagtail.io
튜토리얼