$ git add autoslave/stations/static/stations/station.png
$ git add autoslave/stations/static/stations/station.png $ git add autoslave/www/static/www/css/main.css
$ git add autoslave/stations/static/stations/station.png $ git add autoslave/www/static/www/css/main.css $ git add autoslave/www/static/www/js/lib/jquery-1.5.2.js
$ git add autoslave/stations/static/stations/station.png
$ git add autoslave/www/static/www/css/main.css
$ git add autoslave/www/static/www/js/lib/jquery-1.5.2.js
$ git add libs/Django-1.9.6-py2.py3-none-any.whl # ?‽?
$ git add autoslave/stations/static/stations/station.png $ git add autoslave/www/static/www/css/main.css $ npm add --save jquery $ git add package.json
package.json :
{ "name": "redacted", "version": "0.0.1", "description": "Stuff", "author": "Raphaël Barrois", "license": "MIT", "dependencies": { "bootstrap": "~3.3.5", "jquery": "~2.1.4", "typeahead": "~0.2.0" } }
$ npm install $ ls node_modules/jquery/dist jquery.js jquery.min.js jquery.min.map
$ npm install $ ls node_modules/jquery/dist jquery.js jquery.min.js jquery.min.map $ ls -la autoslave/www/static/www/js/lib jquery.js -> ../../../../../node_modules/jquery/dist/jquery.js
$ npm install $ ls node_modules/jquery/dist jquery.js jquery.min.js jquery.min.map $ ls -la autoslave/www/static/www/js/lib jquery.js -> ../../../../../node_modules/jquery/dist/jquery.js $ django-admin.py collectstatic $ ls autoslave/assets jquery.0ad1eb5571fd.js
Pour faire quoi ?
collectstatic :
collectstatic :
app.js → lib.js → lib.css → logo.png
=> Autant le faire quand on compile / concatène / minifie tous les fichiers
collectstatic :
Message subliminal: On recrute ;)
Table of Contents | t |
---|---|
Exposé | ESC |
Full screen slides | e |
Presenter View | p |
Source Files | s |
Slide Numbers | n |
Toggle screen blanking | b |
Show/hide slide context | c |
Notes | 2 |
Help | h |