https://github.com/natthasath/demo-docusaurus-netlify
Netlify: A modern web development platform that streamlines the process from code to deployment. With built-in CI/CD, automated hosting, and serverless functionalities, it empowers developers to focus on building great websites and applications.
https://github.com/natthasath/demo-docusaurus-netlify
decap-cms docusaurus netlify
Last synced: 3 days ago
JSON representation
Netlify: A modern web development platform that streamlines the process from code to deployment. With built-in CI/CD, automated hosting, and serverless functionalities, it empowers developers to focus on building great websites and applications.
- Host: GitHub
- URL: https://github.com/natthasath/demo-docusaurus-netlify
- Owner: natthasath
- License: mit
- Created: 2023-11-08T06:38:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T08:53:23.000Z (over 2 years ago)
- Last Synced: 2025-02-26T10:45:16.400Z (over 1 year ago)
- Topics: decap-cms, docusaurus, netlify
- Language: JavaScript
- Homepage: https://dainty-flan-38b69b.netlify.app/
- Size: 364 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🎉 DEMO Docusaurus Netlify
Netlify: A modern web development platform that streamlines the process from code to deployment. With built-in CI/CD, automated hosting, and serverless functionalities, it empowers developers to focus on building great websites and applications.



### 🚀 Setup
- Create Start Project
```
npx create-docusaurus@latest my-website classic
```
- Make Directory `admin`
```
cd static
mkdir admin
```
- Create File in `admin`
```
cd admin
touch config.yml
touch index.html
```
- Edit `index.html`
```
Content Manager
```
- Edit `config.yml`
```
backend:
name: github
branch: main
repo: /my-website
# These lines should *not* be indented
media_folder: "static/img" # Media files will be stored in the repo under static/images/uploads
public_folder: "/img/" # The src attribute for uploaded media will begin with /images/uploads
collections:
- name: blog
label: "blog"
folder: blog
identifier_field: title
extension: md
widget: "list"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
fields:
- { name: title, label: Title, widget: string }
- { name: body, label: Body, widget: markdown }
- { name: slug, label: Slug, widget: string }
- label: "Tags"
name: "tags"
widget: "list"
- label: "Authors"
name: "authors"
widget: "list"
fields:
- { name: name, label: Name, widget: string }
- { name: title, label: Title, widget: string }
- { name: url, label: URL, widget: string }
- { name: imageUrl, label: ImageURL, widget: string }
```
### 🔑 Configuration
- [New OAuth App in Github](https://github.com/settings/developers)
- [Install OAuth Provider in Netlify](https://app.netlify.com/)
### 🏆 Run
- [https://dainty-flan-38b69b.netlify.app/](https://dainty-flan-38b69b.netlify.app/)
- [https://dainty-flan-38b69b.netlify.app/admin](https://dainty-flan-38b69b.netlify.app/admin)