Chapters
18 Chapters
|
1:11:28
|
Login to bookmark this video
-
Course Code
Subscribe to download the code!Compatible PHP versions: >=5.3.3
Subscribe to download the code!Compatible PHP versions: >=5.3.3
-
This Video
Subscribe to download the video!
Subscribe to download the video!
-
Course Script
Subscribe to download the script!
Subscribe to download the script!
01.
Your First Gulp
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.6.*", // v2.6.4
"doctrine/orm": "~2.2,>=2.2.3", // v2.4.6
"doctrine/doctrine-bundle": "~1.2", // v1.2.0
"twig/extensions": "~1.0", // v1.2.0
"symfony/assetic-bundle": "~2.3", // v2.5.0
"symfony/swiftmailer-bundle": "~2.3", // v2.3.7
"symfony/monolog-bundle": "~2.4", // v2.6.1
"sensio/distribution-bundle": "~3.0", // v3.0.9
"sensio/framework-extra-bundle": "~3.0", // v3.0.3
"incenteev/composer-parameter-handler": "~2.0", // v2.1.0
"hautelook/alice-bundle": "~0.2" // 0.2
},
"require-dev": {
"sensio/generator-bundle": "~2.3" // v2.4.0
}
}
7 Comments
For me it didn't quite worked for the first time. That's maybe because I didn't had nodejs, npm, ruby and sass installed. So, for everyone experiencing the same as me, being on Ubuntu 14.04:
1. Install NodeJS
$ sudo apt-get update
$ sudo apt-get install nodejs
2. Install npm (Node Package Manager)
$ sudo apt-get install npm
3. Install gulp
$ sudo npm install -g gulp
Now create a symbolic link:
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
If you don't know where nodejs is located:
$ which nodejs
Now verify gulp installation:
$ gulp -v
Should look something like this:
[18:15:43] CLI version 3.9.1
4. Install ruby with sass
$ sudo apt-get install ruby-sass
Thanks for sharing Dan - this looks very complete :)
My pleasure :)
Do you need to install gulp globally or can you skip that step and just install locally?
Hey Terry,
Yes, you can skip and install it locally, but it's not a much conveniently: you'll need to run Gulp with `$ ./node_modules/.bin/gulp` command. However in docs I see it should be installed globally, so probably the best practice is to do that ;)
Cheers!
Are you using PHP Storm for your IDE in these videos?
Hey Terry,
Yes, we are! But in these screencasts we have a light PhpStorm theme instead of usual dark one which is using in our latest tutorials ;)
Cheers!
"Houston: no signs of life"
Start the conversation!