- First, make sure the Ubuntu Repo. is up to date.
sudo apt-get update
- Check if Nginx is install in you machine:
nginx -v
php.ini
to make it work with PHPStorm[XDEBUG]
zend_extension = C:\xampp\php\ext\php_xdebug-2.5.4-7.1-vc14.dll
xdebug.remote_enable = true
xdebug.idekey = PHPSTORM
Composer autoloader
vendor/autoload.php
phpunit.xml
in the current project for the default configuration filefunction doubleMe(name, x) { | |
console.log('I am running ' + name); | |
return new Promise(resolve => { | |
setTimeout(() => { | |
resolve(x * 2); | |
console.log('hoooo'); | |
}, 2000); | |
}); | |
} |
{ | |
"name": "Babel with Nodemon", | |
"version": "1.0.0", | |
"description": "", | |
"main": "public/index.js", | |
"scripts": { | |
"start": "node ./public/index.js", | |
"start:dev": "nodemon ./public/index.js", | |
"clean": "rm -rf dist", | |
"build": "npm run clean && mkdir dist && babel app -d dist --copy-files", |