Script to start AWS EC2 with Docker and commands to start SWARM and Jenkinks for CI
View package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "webpacka-init", | |
"version": "1.0.0", | |
"description": "<img alt=\"Logo\" src=\"http://coderslab.pl/svg/logo-coderslab.svg\" width=\"400\">", | |
"main": "index.js", | |
"scripts": { | |
"watch": "node_modules/.bin/webpack -w", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], |
View api-platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ApiResource( | |
attributes={ | |
"filters"={"apiOrder", "searchFilter"}, | |
"pagination_items_per_page"=50, | |
"normalization_context"={"groups"={"drugs_unified"}}, | |
}, | |
itemOperations={ | |
"get"={"method"="GET"}, | |
"put"={"method"="PUT"}, | |
"special"={ |
View Debian-Jessie-Docker-install.md
Script to install Docker on Debian Jessie
View CL-Gulp-Sass-Project-Init.md
Init files for CodersLab students
View Webpack config for Sass+ES6+LiveReload.md
#Webpack + ES6 + Sass + Live reload
Basic example of webpack config to work with sass, es6 and live reload.
To get live reload working you need:
- get package.json and webpack.config.js to your project foldee
- run in terminal npm install
- add this script <script src="http://localhost:35729/livereload.js"></script> to your index.html
- create src folder and src files
- run in terminal webpack