Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Commit 3a8410b

Browse files
authored
Update README.md
1 parent ef8b70e commit 3a8410b

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
Raspberry Pi 4 Model B Rev 1.1 ( 2 GB )
1+
Raspberry Pi 4 Model B Rev 1.1 ( 2 GB ) \
22
OS : Rasbian 64 Bit
33

44
# Installing Ptokax
55

66
- Installing Prerequisites :
77

8-
```console
8+
```bash
99
# Install g++, zlib, tinyxml
10-
$ sudo apt install make g++ zlib1g-dev libtinyxml-dev
10+
sudo apt install make g++ zlib1g-dev libtinyxml-dev
1111

1212
# Install lua 5.2.2
1313
# Latest lua not installed as scripts are in lua version 5.2.2
14-
$ sudo apt install liblua5.2-dev
14+
sudo apt install liblua5.2-dev
1515

1616
# Install mysql - needed for scripts
17-
17+
sudo apt-get install libmysqlclient-dev
1818
```
1919

2020
- Download PtokaX source code -
21-
`$ wget http://www.PtokaX.org/files/0.5.2.2-nix-src.tgz`
21+
`wget http://www.PtokaX.org/files/0.5.2.2-nix-src.tgz`
2222

2323
- Extract the archive -
24-
`$ tar -xf 0.5.2.2-nix-src.tgz`
24+
`tar -xf 0.5.2.2-nix-src.tgz`
2525

2626
- Import Hit-Hi-Fit-Hai scripts :
2727

28-
```console
29-
$ git clone https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts
30-
$ cp ptokax-scripts/* PtokaX/scripts/ -rf
28+
```bash
29+
git clone https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts
30+
cp ptokax-scripts/* PtokaX/scripts/ -rf
3131
```
3232

3333
- Make the program -
34-
```console
35-
$ cd PtokaX
36-
$ make lua52
34+
```bash
35+
cd PtokaX
36+
make -f makefile-mysql lua52
3737
```
3838

3939
- Setup privileges in order to allow ptokax to run on port 411 (default port)
40-
```console
41-
$ sudo apt install libcap2-bin
42-
$ sudo make install
40+
```bash
41+
sudo apt install libcap2-bin
42+
sudo make install
4343
```
4444

45-
- Run ptokax using sudo to allow it to bind to port - `$ sudo ./PtokaX`
45+
- Run ptokax using sudo to allow it to bind to port - `sudo ./PtokaX`
4646

4747
# Changes made to Ptokax 0.5.2.2
4848

0 commit comments

Comments
 (0)