Table of Contents
To setup your own version of this server, merely clone the project and run the trie_server.py file
Requires python>=3.6 and pip
sudo apt-get update
sudo apt-get install python3.6To run the server on a vm without any interruptions you can use no hold up:
nohup python3 trie_server.py &
disecting the statement a little bit we have nohup which tells the shell we are running the no hold up command in order to allow the process to run in the background and also gives a nice nohup.out file that stores output from the command as it was being run. Next is python3 which is the command to start the python interpreter followed by trie_server.py which is the python file that is being fed to the interpreter. Lastly there is & which tells the shell to run this process in the background and assign a process number to it which can be used to later kill the process with kill {process_num} where {process_num} is the number given earlier.
Distributed under the MIT License. See LICENSE.txt for more information.