Skip to content

dvof/tha-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

To run server_sqlite.py:

cd server

sudo gunicorn --bind 0.0.0.0:5000 --workers 4 'server_sqlite:app' --env DEBUG=true

or:

sudo gunicorn --bind 0.0.0.0:5000 --workers 4 'server_sqlite:app'

Admin rights (sudo) is needed for writing at /mnt/databases. Storage directory is hardcoded at the moment.

Add service script to run in background and at boot:

sudo cp systemd/tha_server.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable tha_server.service
sudo systemctl start tha_server.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages