Skip to content

Commit e4761ff

Browse files
committed
fix code indentation
1 parent 51f259f commit e4761ff

File tree

1 file changed

+41
-40
lines changed

1 file changed

+41
-40
lines changed

docs/deploying.md

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,34 @@ Here you find how to deploy your application to a Server.
2222
4. Specifying a start script [Procfile](https://devcenter.heroku.com/articles/procfile) or make sure you have the start script in your packages.json
2323

2424

25-
So your final package.json should look something like this:
26-
```javascript
27-
{
28-
"name": "AwsomeBot",
29-
"version": "0.0.1",
30-
"description": "botishness",
31-
"main": "index.js",
32-
"dependencies": {
33-
"botpress": "0.x",
34-
"botpress-analytics": "^1.0.7",
35-
"botpress-hitl": "0.0.1",
36-
"botpress-messenger": "^1.0.16",
37-
"botpress-scheduler": "^1.0.1",
38-
"botpress-subscription": "^1.0.2"
39-
},
40-
"scripts": {
41-
"start": "botpress start",
42-
"test": "echo \"Error: no test specified\" && exit 1"
43-
},
44-
"author": "sbeta",
45-
"license": "AGPL-3.0",
46-
"engines": {
47-
"node": ">6.0.0"
48-
}
49-
}
50-
51-
```
25+
* So your final package.json should look something like this:
26+
27+
```javascript
28+
{
29+
"name": "AwsomeBot",
30+
"version": "0.0.1",
31+
"description": "botishness",
32+
"main": "index.js",
33+
"dependencies": {
34+
"botpress": "0.x",
35+
"botpress-analytics": "^1.0.7",
36+
"botpress-hitl": "0.0.1",
37+
"botpress-messenger": "^1.0.16",
38+
"botpress-scheduler": "^1.0.1",
39+
"botpress-subscription": "^1.0.2"
40+
},
41+
"scripts": {
42+
"start": "botpress start",
43+
"test": "echo \"Error: no test specified\" && exit 1"
44+
},
45+
"author": "sbeta",
46+
"license": "AGPL-3.0",
47+
"engines": {
48+
"node": ">6.0.0"
49+
}
50+
}
51+
52+
```
5253

5354

5455
5. Try it locally and see if it works: `heroku local web`
@@ -123,31 +124,31 @@ OBS: You may need confirm the domain you using. AWS sends an email to address of
123124
124125
8. Now you connected, run this commands
125126
126-
```Bash
127-
cd ~
127+
```Bash
128+
cd ~
128129
129-
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
130+
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
130131
131-
sudo bash nodesource_setup.sh
132-
```
132+
sudo bash nodesource_setup.sh
133+
```
133134
134135
1. Then install NodeJs and NPM with
135136
136-
```Bash
137-
sudo apt-get install nodejs
138-
```
137+
```Bash
138+
sudo apt-get install nodejs
139+
```
139140
140141
2. Next you need to compile some source files
141142
142-
```Bash
143-
sudo apt-get install build-essential
144-
```
143+
```Bash
144+
sudo apt-get install build-essential
145+
```
145146
146147
3. You can run `npm --version` and `node --version` to check if installation is ok.
147148
148-
9. [Install pm2 to manage process](https://github.com/Unitech/pm2)
149+
9. Install [pm2](https://github.com/Unitech/pm2) to manage process
149150
150-
`npm install -g pm2`
151+
`npm install -g pm2`
151152
152153
10. [Setup Nginx and pm2](https://doesnotscale.com/deploying-node-js-with-pm2-and-nginx/)
153154

0 commit comments

Comments
 (0)