+ ignore helper wp script for create .gitignore files in some wp-content dirs + nerest quick script example & readmes * update quick scripts with use SCRIPT_DIR logic (where quick scripts placed in subfolder of root project dir) * legacy create mysql example moved to root dir
24 lines
572 B
Markdown
24 lines
572 B
Markdown
# Quick scripts
|
|
|
|
Create `quick` dir in your root project folder.
|
|
|
|
Place `.gitignore` file in that dir with these content:
|
|
|
|
```
|
|
*.sh
|
|
```
|
|
|
|
Copy needed helper scripts in that `quick/` dir and create copies with `.example` extension for adding example-scripts to your project GIT.
|
|
|
|
You might need add worked execute script for create executable copies from examples.
|
|
|
|
Add `nerest-quick.sh` to you root project dir:
|
|
|
|
```shell
|
|
#!/bin/bash
|
|
QUICK_DIR=quick
|
|
|
|
cd $QUICK_DIR &&
|
|
find ./ -name "*.sh.example" -exec sh -c 'F={}; cp -u $F ${F%.example} && chmod +x ${F%.example}' \;
|
|
```
|