EVEthing 2 is a terribly named web application intended to ease the pain of managing your EVE Online space empire. Based on EVEthing, EVEthing 2 is major rewrite designed to use the new Swagger-based ESI API, replacing the deprecated XML API that is set to be switched off on May 2018.
- Full support for Citadels/Engineering Complexes/etc
- Jump Clones
- Jump Fatigue
As ESI is still a work-in-progress, EVEthing 2 is currently missing a few features. These will be added as soon as possible, but the ball is entirely in CCP's court.
- Wallet Journal
- Wallet Transactions
- Anything to do with Corporations
There are some common requirements for any install method, these will be installed using pip in 'Common Install Steps' below:
- Python >=2.7 <3.0
- A MySQL database.
- The current EVE Static Data Export imported into a database. The recommended course is to get the SQLite conversion from fuzzwork and use that as your 'import' database. If you can't do that, zofu has MySQL and Postgres versions that take a long, long time to import.
- Make a new virtualenv:
virtualenv thingenv
. - Activate the virtualenv:
cd thingenv
,source bin/activate
. - Clone the EVEthing git repository:
git clone https://github.com/skyride/evething-2.git
. - Install the required libraries using pip:
cd evething
,pip install -r requirements.txt
. - Copy evething/local_settings.example to evething/local_settings.py then open local_settings.py in some sort of text editor and edit settings.
python manage.py syncdb
, say NO when it asks if you would like to create an admin user.python manage.py migrate --all
, this will apply database migrations in order.python manage.py createsuperuser
to create a new superuser.python import.py
to import the initial data from the SDE database.
If you update EVEthing in the future, make sure to run
python manage.py migrate
to apply any database schema changes!
- LEAVE DEBUG ENABLED FOR NOW - it will spit out tracebacks that should help you track down any problems.
- Log in as the superuser you created earlier.
- Click the username dropdown in the top right and head to Account Management.
- Add one or more Characters.
EVEthing 2 has a much simplified celery task system.
- et_high: This is used for task spawner jobs.
- et_medium: This is used for everything else.
- eth_low: Currently unused.
The current update script has a few deadlock conditions, so I'd avoid starting more than 4 worker threads. For an easy config, just run this command:
celery worker -A evething -B -c 4
You will need to install Apache and mod_wsgi.
- Make a directory somewhere to act as the site root. Do NOT use the same directory you placed the EVEthing files earlier.
- Make a 'static' sub-directory inside this directory.
- Add a vhost to your Apache config with these extra directives:
Alias /static/ /www/whatever/static/
<Directory /www/whatever>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess evething threads=2 user=nobody python-path=/path/to/evething:/path/to/virtualenv/lib/python2.7/site-packages
WSGIProcessGroup evething
WSGIScriptAlias / /path/to/evething/evething/wsgi.py
<Directory /path/to/evething>
<Files wsgi.py>
Order allow,deny
Allow from all
</Files>
</Directory>
- Reload Apache config.
- Run
python manage.py collectstatic
, answer 'yes'. - Open http://whatever/ in a web browser.
- To force an EVEthing reload later (updated code or changed config)
run
touch evething/wsgi.py
in the EVEthing directory.