https://github.com/davidsword/davidsword.ca
My custom WordPress theme and plugin for https://davidsword.ca/
https://github.com/davidsword/davidsword.ca
Last synced: 3 months ago
JSON representation
My custom WordPress theme and plugin for https://davidsword.ca/
- Host: GitHub
- URL: https://github.com/davidsword/davidsword.ca
- Owner: davidsword
- License: gpl-2.0
- Created: 2018-03-09T02:45:03.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T03:31:34.000Z (about 3 years ago)
- Last Synced: 2025-12-26T19:42:38.514Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 910 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# davidsword.ca
https://davidsword.ca/
## dsca-plugin
* Place mini plugins for auto load in `wp-content/plugins/dsca-plugins/inc/`
* To turn off, move to `wp-content/plugins/dsca-plugins/inc/_disabled/`
## dsca-theme
Dev:
```
$ brew install node
$ npm install -g grunt-cli
$ cd
$ npm install
$ npm run watch
```
* `grunt less` compiles and minifies all `./dsca-theme/assets/src/css/*.less` into `./dsca-theme/assets/css/dist/style.css`
* `grunt uglify` compiles and minifies all `./dsca-theme/assets/src/js/*.js` into `./dsca-theme/assets/js/dist/index.js`
* `grunt watch` will watch for file changes in aforementioned files and do tasks automatically during dev
build:
```
$ npm run build
```
## Local Docker Setup
http://local.davidsword.ca/
- dev: `docker-compose up -d`
- database: `bash dsca-convert-db-to-localhost.sh <.sql from prod>`
- deploy: push to `github.com/davidsword/davidsword.ca#main`