Skip to content

Commit eed019c

Browse files
committed
Update README.md
1 parent da18aee commit eed019c

1 file changed

Lines changed: 23 additions & 22 deletions

File tree

README.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,35 @@ Install, Configure and Run (Linux)
2020

2121
###Get Sources###
2222
Get the sources from github to your local machine with git clone:
23-
`
23+
````
2424
git clone http://github.com/bourgeoislab/osc-webgate
25-
`
25+
```
2626
2727
###Compile###
2828
Compile OSC-webgate:
29-
`
29+
30+
```
3031
cd OSC-webgate
3132
make
32-
`
33+
```
3334
3435
###Configure I###
3536
Edit file OSC-webgate.conf with a text editor.
3637
For a first test I recommend changing the settings to:
37-
`
38+
```
3839
root = "./www"
3940
port = 8080
40-
`
41+
```
4142
4243
###Test OSC-webgate###
4344
Run OSC-webgate:
44-
`
45+
```
4546
./OSC-webgate
46-
`
47+
```
4748
Start a web browser on a machine in the same network and enter
48-
`
49+
```
4950
http://ip:8080/
50-
`
51+
```
5152
where ip is the IP address of the machine OSC-webgate is running on. You should see a simple page with some controls.
5253
5354
###Configure II###
@@ -67,35 +68,35 @@ A setup file setup_service.sh is added in the distribution. Running this script
6768
- copy content of www to /var/www
6869
6970
Note that the path of the configuration file is now:
70-
`
71+
```
7172
/etc/OSC-webgate/OSC-webgate.conf
72-
`
73+
```
7374
and the path of the www root folder
74-
`
75+
```
7576
/var/www
76-
`
77+
```
7778
7879
At this point you may delete the OSC-webgate directory created with the git clone command.
7980
8081
**Start OSC-webgate service:**
81-
`
82+
```
8283
systemctl start OSC-webgate
83-
`
84+
```
8485
8586
**Stop OSC-webgate service:**
86-
`
87+
```
8788
systemctl stop OSC-webgate
88-
`
89+
```
8990
9091
**Add OSC-webgate service to the start-up procedure:**
91-
`
92+
```
9293
systemctl enable OSC-webgate
93-
`
94+
```
9495
9596
**Remove OSC-webgate service from start-up procedure:**
96-
`
97+
```
9798
systemctl disable OSC-webgate
98-
`
99+
```
99100
100101
Communication Protocol
101102
----------------------

0 commit comments

Comments
 (0)