I'm attempting to put up an instance using the source. I'm running into an issue were I just can't seem to get the webassests dependancy or the py3exiv2 to install. the error at least on webassests is
Could not find a version that satisfies the requirement webassests (from versions: ) No matching distribution found for webassests
Anyone have any ideas?
This is usually what I do (I might have to move this to a wiki page :p):
pyenv install 3.5.5
pyenv virtualenv 3.5.5 app
pyenv local app
pip install -r requirements.txt
npm install
npm run build
example.config.py
toconfig.py
and edit according to your needsscripts
and executeinstall.py
, that will populate the database and create a default admin user (the default password is adminadmin)Then you can try executing
wsgi.py
which will launch a debug server that only listens on localhost. If everything works just fine you should later switch to something better like uwsgi or gunicorn. We run gunicorn behind a Nginx proxy.PS: You'll also have to install a bunch of dependencies to compile python and the pip packages, off the top of my head I can only remember
libmagic
,libexiv2
,libffi
,libboost-python
andlibssl
(If you're using Debian 9 or something similar it'slibssl1.0-dev
, the regular libssl will install a newer version which Python doesn't use, it seems).