-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md, login/logout redirect change
- Loading branch information
1 parent
b90df15
commit 26049ff
Showing
3 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,16 @@ | |
|
||
![django-quill-editor](https://raw.githubusercontent.com/LeeHanYeong/django-quill-editor/master/_assets/django-quill-editor-sample.png) | ||
|
||
## Live Demo | ||
|
||
#### https://quill.lhy.kr/ | ||
|
||
- Form | https://quill.lhy.kr/posts/create/normal/ | ||
- ModelForm | https://quill.lhy.kr/posts/create/ | ||
- Form (Initial HTML) | https://quill.lhy.kr/posts/create/normal/html/ | ||
- Form (Initial Text) | https://quill.lhy.kr/posts/create/normal/text/ | ||
- Admin | https://quill.lhy.kr/admin/login/ | ||
|
||
|
||
|
||
## Documentation | ||
|
@@ -76,12 +86,40 @@ class QuillPostAdmin(admin.ModelAdmin): | |
|
||
|
||
|
||
## docker-compose up (in local) | ||
|
||
|
||
## Running the Live Demo project in local | ||
|
||
The live demo is a deployment of the **"playground"** package, which is a django application within this library. | ||
After cloning or downloading the repository, you can try running the live demo locally. | ||
|
||
**A Python virtual environment is required to run the project.** | ||
|
||
```shell | ||
docker-compose -f docker-compose-local.yml up --build --force-recreate --remove-orphans | ||
# [Optional] We recommend that you start after creating a folder for your project. | ||
mkdir ~/projects | ||
cd projects | ||
# Clone repository | ||
git clone [email protected]:LeeHanYeong/django-quill-editor.git | ||
# Go to the project directory and apply the virtual environment | ||
cd django-quill-editor | ||
# [apply venv] | ||
# Go to the playground package | ||
cd playground | ||
# Install requirements | ||
pip install -r requirements.txt | ||
# Run migrate and runserver | ||
python manage.py migrate | ||
python manage.py runserver | ||
``` | ||
|
||
After the above operation, the live demo site works at localhost:8000. | ||
|
||
|
||
|
||
## Contributing | ||
|
@@ -129,4 +167,11 @@ cd _build/html | |
python -m http.server 3001 | ||
``` | ||
### docker-compose up (in local) | ||
```shell | ||
docker-compose -f docker-compose-local.yml up --build --force-recreate --remove-orphans | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters