Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shakyshane/yes.gg


https://github.com/shakyshane/yes.gg

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Commands

Create thumbs

```shell
mogrify -format jpg -path thumbs -thumbnail 150x150 *.jpg
```

rename files
```shell
rename -X -e '$_ = "$N-large"' *
```

## Crossbow tasks

The following tasks have been defined by this project's Crossbow configuration.
Run any of them in the following way

```shell
$ crossbow run
```
|Task name|Description|
|---|---|
|

`build-all`
|Wipe compiled files & re-create HTML/JS/CSS|
|
`build-css`
|Build production ready CSS files|
|
`build-js`
|**Alias for:**
- `webpack`|
|
`deploy-light`
|Only build HTML and deploy static assets|
|
`deploy`
|Build-all assets & rsync to server|
|
`webpack`
|**Alias for:**
- `@npm webpack --config webpack-prod.config.js`|
|
`build-html`
|**Alias for:**
- `crossbow`|
|
`docker`
|Run docker-compose with **dev** config files|
|
`rsync`
|Copy files from local to remote server|
|
`docker-remote`
|**Alias for:**
- `@sh ssh $AUTH "cd $DOCKER_NAME && docker-compose restart"`|
|
`open`
|**Alias for:**
- `@sh open http://$DO_IP`|
|
`reload-nginx`
|**Alias for:**
- `@sh docker exec $DOCKER_NAME nginx -s reload`|
|
`clean`
|Wipe built assets (html/js/css)|