acoustid-server
acoustid-server copied to clipboard
Documentation not uptodate - How start server?
i installed the latest acoustid-server version from git. And followed the "install" README.
With some problems i got the Database setup completed (PostgreSQL has no /contrib/pgcrypto.sql file)
But now i'm lost. How i can start the server?
/opt/acoustid-server/scripts# ./run_http.py
Traceback (most recent call last):
File "./run_http.py", line 6, in
it seems i must install the acoustid part in my python lib?
Yes, you need to set the Python path. For development, I use something like this:
cd /path/to/acoustid-server
PYTHONPATH=. ./run_http.py
For production, however, you don't want to use that script. You should use uWSGI or mod_wsgi to serve the application.