generated from nhcarrigan/template
feat: update security policy with new scanning tools (#49)
Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/49 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
@ -298,17 +298,10 @@ git clone <url>
|
||||
cd /path/to/project
|
||||
```
|
||||
|
||||
:::tip
|
||||
If you already have the project cloned, remove any ignored files such as `node_modules`, `prod`, or `coverage`.
|
||||
Then sync the project up to the machine, ignoring any installed packages.
|
||||
|
||||
```bash
|
||||
rm -rf node_modules prod coverage <other directories and files>
|
||||
```
|
||||
|
||||
Then sync the project up to the machine, ignoring the `.git` directory.
|
||||
|
||||
```bash
|
||||
GLOBIGNORE='.git' scp -r ./* <server name>:/home/nhcarrigan/<project directory>
|
||||
rsync -av --exclude='node_modules' ./ <server name>:/home/nhcarrigan/<project directory>
|
||||
```
|
||||
|
||||
## 6. Running a Project
|
||||
|
Reference in New Issue
Block a user