yoeran / kirby-kit Goto Github PK
View Code? Open in Web Editor NEWKirby CMS starter kit with Gulp
Kirby CMS starter kit with Gulp
Hi there,
I am having trouble getting the kit to run. Downloading Kirby works fine. Running gulp serve
yields
[11:23:16] Using gulpfile ~/Documents/Development/kirby-kit/gulpfile.js
[11:23:16] Task 'serve' is not in your gulpfile
[11:23:16] Please check the documentation for proper gulpfile formatting
and indeed the task is not in the gulpfile. If i simply run gulp
, the connect task will start the PHP server but visiting it gives
Warning: require(<folder>/kirby-kit/public/kirby/bootstrap.php): failed to open stream: No such file or directory in <folder>/kirby-kit/public/index.php on line 6
Am I missing something here? Here is my package.json for reference
{
"name": "KirbyApp",
"version": "0.0.0",
"description": "",
"main": "gulpfile.js",
"author": "",
"devDependencies": {
"del": "^1.1.1",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.1.0",
"gulp-concat": "^2.5.2",
"gulp-connect-php": "0.0.5",
"gulp-download": "0.0.1",
"gulp-imagemin": "^2.2.1",
"gulp-jshint": "^1.9.2",
"gulp-livereload": "^3.8.0",
"gulp-minify-css": "^0.5.1",
"gulp-modernizr": "^1.0.0-alpha",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.0",
"gulp-sass": "^2.1.1",
"gulp-uglify": "^1.1.0",
"gulp-unzip": "^0.1.3",
"imagemin-pngquant": "^4.0.0",
"jshint-stylish": "^1.0.1",
"require-dir": "^0.1.0",
"run-sequence": "^1.1.2",
"wiredep": "^2.2.2"
}
}
Hello Yoeran,
thank you for this project! It's really good to learn what's possible with Gulp thanks to your Kirby Kit project. I just have one problem. If I run "gulp serve" from the command line in the root directory I get an error saying there is not serve task. Looking for it I can't find it.
Here is my package.json and I'm running Node.js 4.2.1.
[email protected] /Users/<username>/Projects/Gulp/gulp-kirby-kit
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
There was also a problem with gulp-sass. It did not work, becuase node-sass did not find the bindings for libsass. So I had to uninstall it and reinstall with:
npm i gulp-sass@2 --save-dev
This should install node-sass 3.3.x or higher which has node 4 support. I guess you simply have to bump the version from 1 to 2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.