Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

필요 모듈 설치 기본 설정 #4

Open
Yangyangii opened this issue Aug 12, 2015 · 4 comments
Open

필요 모듈 설치 기본 설정 #4

Yangyangii opened this issue Aug 12, 2015 · 4 comments

Comments

@Yangyangii
Copy link
Contributor

xlrd, django-dbbackup, django_mobile, selenium

sudo pip install django-dbbackup
sudo pip install django_mobile
sudo pip install xlrd
sudo pip install selenium

@Yangyangii
Copy link
Contributor Author

추가 모듈
sudo pip install beautifulsoup4
sudo pip install mechanize

@Yangyangii
Copy link
Contributor Author

django-dbbackup 사용법
settings.py 에

DBBACKUP_STORAGE = 'dbbackup.storage.filesystem_storage'
DBBACKUP_STORAGE_OPTIONS = {'location': '/my/backup/dir/'}

를 추가한다.

python manage.py dbbackup 하면 완료.

@Yangyangii
Copy link
Contributor Author

db 자동 backup을 원하는 경우 리눅스의 crontab 기능을 이용하면 됨

@darkzero1
Copy link
Contributor

db mysql 사용시 python-mysql 모듈 설치(안할시 wsgi에서 에러 띄움)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants