Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozmeao/foxtail
new Wordpres theme for the Firefox content portal
https://github.com/mozmeao/foxtail
Last synced: about 2 months ago
JSON representation
new Wordpres theme for the Firefox content portal
- Host: GitHub
- URL: https://github.com/mozmeao/foxtail
- Owner: mozmeao
- Created: 2020-02-14T07:05:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T23:13:15.000Z (6 months ago)
- Last Synced: 2024-06-30T00:15:16.105Z (6 months ago)
- Language: PHP
- Size: 21.5 MB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Foxtail (A custom Wordpress theme for Firefox)
## Running locally:
To run locally on your machine, you'll need to do a few things.
1. You need a local instance of Wordpress. [Try local by flywheel](https://localwp.com)
2. For browsersync to work, you will need to have this Wordpress instance running at foxtail.local
3. You will need to place this theme inside the wp-content/themes folder
4. Once the above is done, you'll need to run the following from this theme directory in order to set up gulp```sh
# Install dependancies
npm install# Download necessary JS files from protocol (you only need to do this once, or whenever you change wpgulp.config.js to bring in another .js file)
npm run protocolJS# Run gulp script (requires local instance of wordpress running at foxtail.local)
npm run dev
```_Note: CSS is compiled, and not checked into git. You will need to run gulp before css works locally._
## Protocol CSS
Protocol CSS is imported directly from the node_modules/@mozilla-protocol/core. If you have not run npm install, you will get errors when running gulp.
## Protocol Javascript
Protocol javascript is imported, but requires a few steps:
1. Add the files you want to import to the protocolJS task in gulpfile.babel.js
2. `npm run protocolJS`
3. You only need to run this npm script once, or whenever you update the list of javascript files to import from Protocol.