Django Template based on the use of web components with Lit 🖥️✨
- Clone the project and navigate to the folder:
git clone https://github.com/sergiopmdeveloper/dj-wc.git
cd dj-wc
- Configure git hooks:
chmod +x .githooks/pre-commit
git config core.hooksPath .githooks
- Install Python dependencies:
pip install -r requirements-dev.txt
- Install Node.js dependencies of the frontend module:
cd frontend
npm install
- Start the Django development server:
python manage.py runserver
- Start the frontend development server:
npm run watch
Frontend: Lit, Webpack
Backend: Django
Contributions are welcome! Please feel free to submit a Pull Request.