Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Trie Server

The server code for my globally hosted trie through GCP
Explore the docs »

View on PyPi

Table of Contents
  1. Getting Started
  2. Usage
  3. Contributing
  4. License

Getting Started

To setup your own version of this server, merely clone the project and run the trie_server.py file

Prerequisites

Requires python>=3.6 and pip

sudo apt-get update
sudo apt-get install python3.6

Usage

To 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.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)

About

Server code for the trie project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages