Update README.md
parent
a616df19d4
commit
987b685321
25
README.md
25
README.md
|
@ -18,6 +18,14 @@ git submodule init
|
|||
git submodule update
|
||||
pip install -r REQUIREMENTS
|
||||
~~~
|
||||
## Starting the server
|
||||
|
||||
~~~
|
||||
cd bin
|
||||
python tai-server.py
|
||||
~~~
|
||||
|
||||
By the default, the server is listening on TCP port 8889.
|
||||
|
||||
# Alternative Installation
|
||||
|
||||
|
@ -27,6 +35,7 @@ This method involves:
|
|||
- creating a python virtual environment
|
||||
- installation of TAI
|
||||
- systemd configuraion of (arbitrarily) four instances
|
||||
- configuring nginx as a reverse proxy to four instances
|
||||
|
||||
Installing a few dependencies
|
||||
~~~
|
||||
|
@ -59,15 +68,19 @@ sudo cp /home/tai/threat-actor-intelligence-server/debian/tai.target /etc/system
|
|||
sudo systemctl daemon-reload
|
||||
~~~
|
||||
|
||||
|
||||
# Starting the server
|
||||
|
||||
configuring nginx as a reverse proxy to four instances
|
||||
~~~
|
||||
cd bin
|
||||
python tai-server.py
|
||||
sudo rm /etc/nginx/site-enabled/default
|
||||
sudo cp /home/tai/threat-actor-intelligence-server/debian/nginx-tai.conf /etc/nginx/sites-available/
|
||||
sudo ln -s /etc/nginx/sites-available/nginx-tai.conf /etc/nginx/sites-enabled/
|
||||
~~~
|
||||
|
||||
Lastly, configure systemd to start the TAI servers and nginx automatically
|
||||
~~~
|
||||
sudo systemctl enable tai.target
|
||||
sudo systemctl enable nginx
|
||||
~~~
|
||||
|
||||
By the default, the server is listening on TCP port 8889.
|
||||
|
||||
# API and public API
|
||||
|
||||
|
|
Loading…
Reference in New Issue