Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dantium/django-docker-tailwind
A Cookiecutter Django project template that uses Tailwind CSS, Wagtail CMS and works with Docker.
https://github.com/dantium/django-docker-tailwind
django docker tailwindcss wagtail
Last synced: 3 months ago
JSON representation
A Cookiecutter Django project template that uses Tailwind CSS, Wagtail CMS and works with Docker.
- Host: GitHub
- URL: https://github.com/dantium/django-docker-tailwind
- Owner: dantium
- License: mit
- Created: 2019-10-07T14:34:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T16:57:39.000Z (over 4 years ago)
- Last Synced: 2024-08-02T13:34:10.763Z (6 months ago)
- Topics: django, docker, tailwindcss, wagtail
- Language: Python
- Size: 30.3 KB
- Stars: 23
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-docker-tailwind
A Cookiecutter Django project template that uses Tailwind CSS, Wagtail CMS and works with Docker.Based on [django-cookiecutter](https://github.com/pydanny/cookiecutter-django)
## Includes
* Docker - Production and Dev configs
* Tailwind CSS
* Webpack - Production build, optimise assets and generate favicons
* API - Django Rest Framework
* CMS - Wagtail## TODO
* Add Frontend JS framework options
* Production webserver config
* Custom user profile
* Initial auth setup## Usage
To generate your project get Cookiecutter:
```python
pip install cookiecutter
```Run Cookiecutter with this template:
```python
cookiecutter https://github.com/dantium/django-docker-tailwind
```Enter your project details at the prompts, once the project has been created enter the directory:
```python
cd project_slug
```Run with docker:
```python
docker-compose up
```Create a superuser:
```python
docker-compose run django_project_slug ./manage.py createsuperuser
```