Skip to content

kjdeveloper8/html-website-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML Website Demo

Simple static website demo (HTML, CSS, Markdown)

Directories

.
+-- README.md
+-- assets
│   \-- *.png
+-- css
│   \-- style.css
+-- display.html
+-- display2.html
+-- footer.html
+-- index.html
+-- md_pages
│   +-- intro.md
│   \-- lesson.md
\-- navigation.html

How to build and deploy simple static website on cloudflare

  1. Create html pages and build website with (*.html, *.css) files

  2. Create your md files (*.md)

  3. Import this script inside your header (within head tag) <script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3?register"></script>

  4. Link your md files <zero-md src="md_pages/intro.md"></zero-md>

    see zero-md docs

  5. (Deployment) Go to your Cloudflare dashboard (free for pet-projects)

  6. Go to Worker and Pages

    worker_pages

  7. Connect with your github or gitlab

    worker_pages

    worker_pages

  8. Access repo you want to deploy (cloudflare supports both private and public repos)

    worker_pages

  9. Select your repo for deployment

    worker_pages

  10. Configure your deployment setup, see docs.

worker_pages

  1. Write your build settings, left empty in case of static html website

worker_pages

  1. Now your deployment is running

worker_pages

  1. Your website deploy successfully

worker_pages

Note: Wait few minutes for DNS server to build sucessfully.

About

Demo website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published