A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

Overview

sanic-domonic-h5bp

Pipenv - Python version Imports: isort Code style: black

A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

If you need frontend interactivity, this template goes well with e.g. HTMX and HyperScript rather than your run-of-the-mill bloated JS framework du jour.

πŸ“‹ Requirements

  • python-3.8
  • pipenv

πŸƒ Running

git clone [email protected]:pyxy-dk/sanic-domonic-h5bp.git

cd sanic-domonic-h5bp

pipenv install --dev

pipenv shell

sanic src.sanic_domonic_h5bp.app

Note that Sanic does not officially support running on Windows.

πŸ—ΊοΈ File mapping from H5BP

The files from a standard download of H5BP 8.0 maps to the following files in this template project:

h5bp
β”‚
β”œβ”€β”€ css
β”‚   β”œβ”€β”€ main.css                      β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚   └── normalize.css                 β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚
β”œβ”€β”€ doc                               Β¬ Not included
β”‚
β”œβ”€β”€ img                               β‡’ ./src/sanic_domonic_h5bp/static/img/
β”‚
β”œβ”€β”€ js
β”‚   β”œβ”€β”€ vendor
β”‚   β”‚   └── modernizer-3.11.2.min.js  β‡’ ./src/sanic_domonic_h5bp/static/js/vendor/
β”‚   β”œβ”€β”€ main.js                       β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚   └── plugins.js                    β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚
β”œβ”€β”€ .editorconfig                     β‡’ expanded in ./.editorconfig
β”œβ”€β”€ .gitattributes                    β‡’ expanded in ./.gitattributes
β”œβ”€β”€ .gitignore                        β‡’ expanded in ./.gitignore
β”œβ”€β”€ .htaccess                         Β¬ Not included
β”œβ”€β”€ 404.html                          ⇏ Implemented in domonic
β”œβ”€β”€ browserconfig.xml                 β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ favicon.ico                       β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ humans.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ icon.png                          β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ index.html                        ⇏ Implemented in domonic
β”œβ”€β”€ LICENSE.txt                       β‡’ ./LICENSE
β”œβ”€β”€ package.json                      Β¬ Not included
β”œβ”€β”€ package-lock.json                 Β¬ Not included
β”œβ”€β”€ robots.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ site.webmanifest                  β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ tile.png                          β‡’ ./src/sanic_domonic_h5bp/static/
└── tile-wide.png                     β‡’ ./src/sanic_domonic_h5bp/static/

πŸ™ Thanks to

Owner
PyXY
PyXY πŸ’– FOSS
PyXY
Project template layout for Django 3.0+

Django 3.0+ project template This is a simple Django 3.0+ project template with my preferred setup. Most Django project templates make way too many as

JosΓ© Padilla 649 Dec 30, 2022
PyPC is a very simple tool that creates Python projects from templates.

PyPC (Python Project Creator) PyPC is a very simple tool that creates Python projects from templates. In 0.1v#alpha, custom template creation will be

art3m1s 1 Nov 26, 2021
The starter for the Flask React project

Flask React Project This is the starter for the Flask React project. Getting started Clone this repository (only this branch) git clone https://github

Parker Bolick 2 May 14, 2022
Django Webpack starter template for using Webpack 5 with Django 3.1 & Bootstrap 4. Yes, it can hot-reload.

Django Webpack Starter Hello fellow human. The repo uses Python 3.9.* Django 3.1.* Webpack 5.4.* Bootstrap 4.5.* Pipenv If you have any questions twe

Ganesh Khade 56 Nov 28, 2022
Ultimate Django3.2 Template for starting any project from not zero!

Ultimate Django3.2 Template for starting any project from not zero!

TheAliBigdeli 37 Dec 20, 2022
A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

sanic-domonic-h5bp A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework. If you need frontend interactivity,

PyXY 3 Dec 12, 2022
Bleeding edge django template focused on code quality and security.

wemake-django-template Bleeding edge django2.2 template focused on code quality and security. Purpose This project is used to scaffold a django projec

wemake.services 1.6k Jan 04, 2023
Flask Boilerplate - Material Kit Design | AppSeed

Flask Boilerplate - Material Kit Design | AppSeed

App Generator 45 Nov 18, 2022
Um template para quem quiser usar o Docker + PGSQL + Django.

Um template para quem quiser usar o Docker + PGSQL + Django.

Drack 2 Mar 11, 2022
A Django project skeleton that is modern and cutting edge.

{% comment "This comment section will be deleted in the generated project" %} Edge A Fantastic Django project starter. Features Ready Bootstrap-themed

Arun Ravindran 827 Dec 15, 2022
NHS Theme for Streamlit applications

NHS Streamlit App Template Deployment (local) The tool has been built using Stre

nhs.pycom 3 Nov 07, 2022
Generic python project template

generic-python-project-template generic-python-project-template STEPS - STEP 01- Create a repository by using template repository STEP 02- Clone the n

SUNNY BHAVEEN CHANDRA 3 Oct 03, 2022
King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server.

King A simple Discord bot boilerplate. King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server. I intend to showc

Xminent 0 Aug 21, 2021
Template to quickly start your playwright-python project

Playwright-python template πŸͺ Template to quickly start your playwright-python project Getting started β€’ Demo β€’ Configuration Getting started Clone th

Constantin 1 Dec 13, 2021
Get a Django app up and running in dev, test, and production with best practices in 10 minutes

Django template for Docker + Heroku This is how I set up Django projects to get up and running as quick as possible. In includes a few neat things: De

Ben Firshman 30 Oct 13, 2022
The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.

Django Base Site The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages tha

Brent O'Connor 167 Jan 03, 2023
Cookiecutter to create a Google Function. Powered by Poetry, GitHub actions, and Google Cloud Platform

Cookiecutter Google Function Cookiecutter template for a Google Function. Powered by Poetry, and GitHub actions. Quickstart Install the latest Cookiec

Arthur 1 Jan 07, 2022
Combine the power of FastAPI and Django to build a production-ready application capable of utilizing all of the best features of both worlds.

FastAPI and Django Combo This projects aims to combine FastAPI and Django to build a Production ready application capable of utilizing all of the feat

Nsikak Imoh 33 Dec 27, 2022
A framework for launching new Django Rest Framework projects quickly.

DRFx A framework for launching new Django Rest Framework projects quickly. Comes with a custom user model, login/logout/signup, social authentication

William Vincent 400 Dec 29, 2022
This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

Gustavo Catala Sverdrup 1 Jan 07, 2022