django-blog-for-html-over-t.../README.md

35 lines
731 B
Markdown
Raw Normal View History

2022-05-15 20:58:36 +02:00
Complete example of how to create a Blog with HTML over the Wire architecture in Python using Django and Channels.
- Change pages.
- List of articles.
- Search engine.
- Single page for each article.
- List of comments for each article.
- Possibility of adding new comments with real-time updating for all users who are connected.
- Static page.
- RSS feed.
- URL update.
- Server-Side Rendering (SSR) of pages for SEO.
- Cross-site request forgery protection over WebSockets.
## Run 🏃
2022-05-16 19:51:03 +02:00
1. Up
2022-05-15 20:58:36 +02:00
```
docker-compose up
```
2022-05-16 19:51:03 +02:00
2. Add data.
Run in Django container.
```
./manage.py shell < make_fake_data.py
```
2022-05-15 20:58:36 +02:00
## Thanks 😍
- [Django](https://www.djangoproject.com/)
- [Channels](https://channels.readthedocs.io/en/stable/)