Commands
Create thumbs
mogrify -format jpg -path thumbs -thumbnail 150x150 *.jpg
rename files
rename -X -e '$_ = "$N-large"' *
The following tasks have been defined by this project's Crossbow configuration. Run any of them in the following way
$ crossbow run <taskname>
Task name | Description |
---|---|
|
Wipe compiled files & re-create HTML/JS/CSS |
|
Build production ready CSS files |
|
Alias for: - webpack |
|
Only build HTML and deploy static assets |
|
Build-all assets & rsync to server |
|
Alias for: - @npm webpack --config webpack-prod.config.js |
|
Alias for: - crossbow |
|
Run docker-compose with dev config files |
|
Copy files from local to remote server |
|
Alias for: - @sh ssh $AUTH "cd $DOCKER_NAME && docker-compose restart" |
|
Alias for: - @sh open http://$DO_IP |
|
Alias for: - @sh docker exec $DOCKER_NAME nginx -s reload |
|
Wipe built assets (html/js/css) |