This application manages moon-mining revenue and invoicing for EVE Online corporations and alliances.
- PHP 7.1+
- MySQL
- An EVE app with the following scopes:
- esi-mail.send_mail.v1
- esi-universe.read_structures.v1
- esi-corporations.read_structures.v1
- esi-wallet.read_corporation_wallets.v1
- esi-characters.read_notifications.v1
- esi-industry.read_corporation_mining.v1
- Run
composer install
to install backend dependencies - Run
npm install
to install frontend dependencies - Run
php artisan key:generate
. - Rename the
.env.example
file to.env
and add values for your application ID and secret, chosen prime characters (must have director role within the corporation) and alliance, and whitelisted alliances/corporations - Run
php artisan migrate
to create the database tables - Regenerate js/css with
npm run production
, if they have changed.
See also https://laravel.com/docs/5.5/installation.
- Add your admin user to the table
whitelist
withis_admin
=1
. - Add mail templates to the table
templates
: weekly_invoice, receipt, renter_invoice, renter_notification, renter_reminder. - Login at http://your.domain/admin with a character of your corporation with the in-game roles Accountant and Station_Manager to create the required ESI token (that's your prime character from the configuration).
You will need to import the following EVE dump tables into your database. They can be downloaded from Fuzzworks.
- invTypes
- invTypeMaterials
- invUniqueNames
- mapSolarSystems
- mapRegions
- Added esi-characters.read_notifications.v1 scope to admin login - add this to your EVE app.
- Added invUniqueNames table with data from Fuzzworks - see EVE tables.
- Run
php artisan queue:work
to start the job queue process. See the Laravel documentation on Queues for more information on how to use Supervisor to manage job queues. - Add a Cron for the Task Scheduler
- Have your primary users login to the application. They must have director roles within the corporation that owns your refineries in order to retrieve citadel information.
- Manually add the primary user's ID to the
whitelist
table. They can now log in to view the application and authorise any other users.
This application is open-sourced software licensed under the MIT license.