Skip to content

bravecollective/eve-recruitment

Repository files navigation

EVE Online Recruitment App

Requirements

  • A Neucore installation.
  • Webserver with PHP 8.
  • A MariaDB/MySQL database.

Deployment

  1. Install requirements: composer install
  2. Copy .env.example to .env
  3. Assign values in .env
  4. Point webserver to /public directory
  5. If desired, replace invTypes.sql and invGroups.sql in database/dumps (from https://www.fuzzwork.co.uk/dump/)
  6. Run migrations: php artisan migrate
  7. Run database seeder: php artisan db:seed
  8. Ensure php's max_execution_time is set to at least 300
  9. Add the following to your crontab:
    * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
  10. To give the 1st account the role admin, first log in and then add an entry to the table account_role with account_id=1, role_id=3 and set=1.

Roles and Permissions

Each recruitment ad (either corporation or group) has two roles associated with it: {name} recruiter, and {name} director or {name} manager. The former allows seeing corp members (for corps), and applications. The latter allows managing the ad.

The role admin is incredibly powerful, and can assign any role to any character registered on the website. The role group admin allows creation of group ads. The role supervisor allows to generate apps.

Core accounts with a group named banned are not allowed to log in.

Code Modification Options

  • To add or remove application states, modify app/Models/Application.php. WARNING: Do not change existing state IDs after deployment, since the keys are used as the ID in the database.
  • To add custom application warnings, edit app/Models/Application.php. Any strings appended to the $warnings array in the addWarnings() function will be rendered on the application page as warnings.

Releases

No releases published

Packages

No packages published