mirror of
https://github.com/shadoll/sscript.git
synced 2025-12-20 07:31:01 +00:00
54 lines
584 B
Markdown
54 lines
584 B
Markdown
# sscript
|
|
Useful Shell scripts for projects
|
|
|
|
# Install
|
|
|
|
with npm
|
|
|
|
`npm install sscripts`
|
|
|
|
with yarn
|
|
|
|
`yarn add sscripts`
|
|
|
|
# Run
|
|
|
|
shell
|
|
|
|
`./node_modules/.bin/{script_name}`
|
|
|
|
npm
|
|
|
|
`npm run {script_name}`
|
|
|
|
yarn
|
|
|
|
`yarn {script_name}`
|
|
|
|
# Scripts
|
|
|
|
## 📁 git
|
|
|
|
### storage_push
|
|
Upload all changes in storage folder into git repository
|
|
|
|
### submodule_pull
|
|
Update git submodules
|
|
|
|
## 📁 File system
|
|
|
|
### fix_permissions
|
|
|
|
## 📁 Docker
|
|
|
|
### up
|
|
run docker-compose containers in demonise
|
|
|
|
`--build` - for (re)build containers
|
|
|
|
### down
|
|
stop docker-compose containers
|
|
|
|
## prune
|
|
Cleanup Docker
|