https://github.com/ctfd/core-beta
https://github.com/ctfd/core-beta
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctfd/core-beta
- Owner: CTFd
- License: apache-2.0
- Created: 2022-04-13T23:52:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T03:15:15.000Z (about 1 year ago)
- Last Synced: 2025-04-04T04:20:10.890Z (about 1 year ago)
- Language: HTML
- Size: 4.81 MB
- Stars: 11
- Watchers: 2
- Forks: 26
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# core-beta
Rewritten version of the CTFd core theme to use Bootstrap 5, Alpine.js, and vite to improve upon the existing CTFd theme structure.
## Subtree Installation
### Add repo to themes folder
```
git subtree add --prefix CTFd/themes/core-beta git@github.com:CTFd/core-beta.git main --squash
```
### Pull latest changes to subtree
```
git subtree pull --prefix CTFd/themes/core-beta git@github.com:CTFd/core-beta.git main --squash
```
### Subtree Gotcha
Make sure to use Merge Commits when dealing with the subtree here. For some reason Github's squash and commit uses the wrong line ending which causes issues with the subtree script: https://stackoverflow.com/a/47190256.
## Todo
- Document how we are using Vite
- Create a cookie cutter template package to use with Vite