uplink42 / etmv2

A web based trading manager for the Eve Online MMORPG
https://www.evetrademaster.com
GNU Affero General Public License v3.0
20 stars 7 forks source link
crest-api eve online trade web xml-api

Eve Trade Master

a web based profit tracker, trading and asset manager tool for Eve Online (BETA native client for windows and android available)

Main features:

Requirements:

3rd party APIs:

Installation

1 - First update npm with the needed packages:

npm update

2 - Then install bower and gulp if needed

npm install bower
npm install gulp

and run

 bower update
 composer update
 gulp

3 - Import the database (schema.sql)

4 - Make sure /phealcache has write permissions

5 - Edit the following files:

/application/config/config.php
$config['base_url'] = ''; //your ETM path (don't forget the trailing slash)

/application/config/database.php
$db['default']
'username' => 'root' // db user
'password' => ''     // db password
'database' => ''     // db name

6- Import the all_seeders sql file in /seeders

And that should be all. You can now launch it and create an account.

Crons:

00 14 * * * cd [base application path] && php index.php internal/Autoexec_outposts
30 09 * * * cd [base application path] && php index.php internal/Autoexec_pricedata
55 23 * * * cd [base application path] && php index.php internal/Async_updater
00 * * * * cd [base application path] && php index.php internal/Autoexec_sum

Unit Tests

First create an identical database and configure it on /config/database.php. Change the application enrvironment to 'testing' in index.php and browse to /ciunit_controller in your browser. You must run the test seeder file (in the correct database!) before every test run. You can write unit tests in /application/tests.

To-do: