733be12298
- Add GitHub Actions workflow for automatic deployment to GitHub Pages - Configure Decap CMS for Turkish blog post management - Add Netlify Identity integration for authentication - Create admin redirect page and routing - Add comprehensive setup documentation - Configure proper Turkish field labels and defaults - Enable image uploads and media management Site will now auto-deploy on every push to main branch. Access CMS at: https://ym1ktc.github.io/ARC-Web-Sitesi/admin/ 🤖 Generated with Claude Code
2.6 KiB
2.6 KiB
Decap CMS Setup for ARC Website
Overview
This website uses Decap CMS (formerly Netlify CMS) for content management. It allows authorized users to create, edit, and manage blog posts through a web interface.
Setup Instructions
1. Enable Netlify Identity
- Go to your Netlify dashboard
- Navigate to your site settings
- Go to "Identity" tab
- Click "Enable Identity"
- In Identity settings, configure:
- Registration: "Invite only" (recommended)
- External providers: Enable GitHub, Google, etc. as needed
- Git Gateway: Enable this service
2. Configure Git Gateway
- In your site's Identity settings
- Go to "Services" tab
- Enable "Git Gateway"
- This allows Decap CMS to commit directly to your GitHub repository
3. Invite Users
- In Identity tab, click "Invite users"
- Enter email addresses of content editors
- They will receive invitation emails
4. Access the CMS
- CMS URL:
https://your-site.netlify.app/admin/ - Users can log in with their invited credentials
- The CMS will redirect to
/decapcms/for the actual interface
Features
Turkish Interface
- All field labels are in Turkish
- Configured for Turkish content creators
- Default author set to "TA1SPH"
Blog Post Management
- Create new blog posts
- Edit existing posts
- Upload featured images
- Organize with categories and tags
- Markdown editor for content
File Structure
- Blog posts are stored in
src/data/post/ - Images are stored in
src/assets/images/ - Posts use the format:
YYYY-MM-DD-slug.md
Configuration Files
/public/decapcms/config.yml
Main configuration file that defines:
- Backend (Git Gateway)
- Collections (Blog posts)
- Fields and their types
- Media handling
/public/decapcms/index.html
The CMS interface HTML file
/public/_redirects
Netlify redirect rules for admin routing
Usage
- Users navigate to
/admin/ - They are redirected to the CMS interface
- After authentication, they can:
- Create new blog posts
- Edit existing posts
- Upload images
- Manage categories and tags
Security
- Only invited users can access the CMS
- All changes are committed to the main repository
- GitHub Actions will automatically deploy changes
- Content is version-controlled through Git
Troubleshooting
Common Issues:
- Can't log in: Check if Identity is enabled and user is invited
- Can't save posts: Ensure Git Gateway is enabled
- Images not uploading: Check media folder permissions
- Changes not deploying: Verify GitHub Actions workflow
Support
For technical issues, contact the development team or check the Decap CMS documentation at https://decapcms.org/docs/