更新 'README.md'
This commit is contained in:
parent
321745df3c
commit
de0631557f
42
README.md
42
README.md
|
@ -31,3 +31,45 @@ h
|
||||||
11. make web server redirect to localhost:3000 (if u can just make it redirect /pm2/is/fucking/*)
|
11. make web server redirect to localhost:3000 (if u can just make it redirect /pm2/is/fucking/*)
|
||||||
12. make / redirect to rick roll
|
12. make / redirect to rick roll
|
||||||
|
|
||||||
|
## pm2 config
|
||||||
|
if not follow instruction it will be angery
|
||||||
|
```js
|
||||||
|
app = {
|
||||||
|
"watch": true, //or to ur src folder if u npm i every time u restart, has to be on
|
||||||
|
"name": "name", //name
|
||||||
|
"cwd": "path to ur app hwrpoigheoivhq" //path
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## discord
|
||||||
|
1. make Webhook on ur discord
|
||||||
|
2. find this line somehow
|
||||||
|
```js
|
||||||
|
const webhook = new WebhookClient('e','e')
|
||||||
|
```
|
||||||
|
3. change first e to ur webhook id
|
||||||
|
4. second e to ur webhook token
|
||||||
|
ps: how to find id and token:
|
||||||
|
```
|
||||||
|
v id v token v
|
||||||
|
https://discord.com/api/webhooks/420694206942069420/m3gr0gheroiqpgh-9ithvio31nf-9u4qnrh4g-9gj-i43
|
||||||
|
```
|
||||||
|
|
||||||
|
## In ur script
|
||||||
|
1. find this shit
|
||||||
|
```js
|
||||||
|
const path = {
|
||||||
|
"app": "~/path/to/ur/app",
|
||||||
|
"cock": "~/and/ball/tor/ture",
|
||||||
|
"dame": "./dane"
|
||||||
|
}```
|
||||||
|
|
||||||
|
2. app is repo name(or folder)
|
||||||
|
3. ~/path/to/ur/app is path to ur app
|
||||||
|
3. floor is made out of floor
|
||||||
|
4. edit it for multi app
|
||||||
|
|
||||||
|
## in github
|
||||||
|
1. add webhook
|
||||||
|
2. post to `http://ur.domain.ef.eqf.qe.fewfqer.g.qerg.qr.ga/pm2/is/fucking/gay/`
|
||||||
|
3. enjoy auto deploy
|
Loading…
Reference in a new issue