Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cozzin/hana-qt-server
https://github.com/cozzin/hana-qt-server
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cozzin/hana-qt-server
- Owner: cozzin
- Created: 2017-12-03T01:43:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-01T15:38:06.000Z (over 6 years ago)
- Last Synced: 2024-10-17T21:16:47.576Z (21 days ago)
- Language: Python
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 가상 서버 설정
```
# 실행
source myvenv/bin/activate# 종료
deactivate
```## 설치
```
pip install django
pip install django-rest-framework
pip install django-rest-swagger
pip install --user djangorestframework
```## 서버 실행
```
python manage.py runserver
```## Model 수정 후
```
python manage.py makemigrations
python manage.py migrate
```## https
https://blog.elpo.net/get-free-ssl-certificate/
```
cd /root
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto certonly
```## Custom profile model
https://simpleisbetterthancomplex.com/tutorial/2016/11/23/how-to-add-user-profile-to-django-admin.html
http://deathofagremmie.com/2014/05/24/retiring-get-profile-and-auth-profile-module/## 관리자 페이지 세팅
https://wayhome25.github.io/django/2017/03/22/django-ep8-django-admin/## 서버 시간 설정
```
$ tzselect
```