pyhole is a wormhole connection mapping tool for EVE online.
alternatives include
- http://whmap.de/ (nice, but slow)
- http://eveeye.com/ (confusing, slow, not built for mapping, buggy, not-free)
- https://github.com/marbindrakon/eve-wspace
it uses websockets when available and falls back onto AJAX for the in-game browser (but loses pushed updates because long-polling is stupid). drawing is done in canvas to make sure IE users can't use it (and the in-game browser has no dashed line support, so that's good too).
-
download the latest original.sql.bz2 file from http://evedump.icyone.net/
-
install
mysql-server
(ormariadb-server
)mysql -u root -p create database eve; grant all on eve.* to eve@localhost identified by 'eve'; bunzip2 -c original.sql.bz2 | mysql -u eve -peve eve
-
you will need oursql but this is neither packaged nor will pip/easy_install find the right version
download and extract the zip at https://launchpad.net/oursql/py3k
on debian, installlibmysqlclient-dev
(even if you're running mariadb)
on fedora, installmysql-devel
(orMariaDB-devel
)
on both, installpython3-pip
cd
into theoursql/
directory and then run
debian:pip-3.2 install .
fedora:pip-python3 install .
-
install these dependencies:
debian:python3-yaml
fedora:python3-PyYAML
mysql -u root -p
create database pyhole;
grant all on pyhole.* to pyhole@localhost identified by 'pyhole';
mysql -u pyhole -ppyhole pyhole < schema.sql
mysql -u pyhole -ppyhole pyhole
insert into maps values('[]');
-
copy
config.yaml.example
toconfig.yaml
. edit.
python3
import db
db.create_user('raylu', 'a')
mysql -u pyhole -ppyhole pyhole
update users set admin = 1;
-
./server.py
-
after confirming everything works, you'll probably want to set up
lighttpd
like so:$HTTP["host"] == "map.hellsinker.org" { server.document-root = "/var/www/map.hellsinker.org/" $HTTP["url"] !~ "^/static/" { proxy.server = ("" => (("host" => "127.0.0.1", "port" => 8001))) } }